Skip to content

Commit

Permalink
ci(netcore.yml): set version v3 to actions/checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Sep 27, 2022
1 parent a7ffa3f commit 30fdeca
Showing 1 changed file with 23 additions and 25 deletions.
48 changes: 23 additions & 25 deletions .github/workflows/netcore.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,34 @@
name: CI Build

on:
"on":
pull_request:
branches:
- "main"
- main
push:
branches:
- "main"

- main
jobs:
build:

strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]

platform:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v1
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.*
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.*
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.*
- name: Build with dotnet
run: ./build.sh --linksources=true --verbosity=verbose
shell: bash
- uses: actions/checkout@v3
- name: Setup .NET 5
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.*
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.*
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.*
- name: Build with dotnet
run: ./build.sh --linksources=true --verbosity=verbose
shell: bash

0 comments on commit 30fdeca

Please sign in to comment.