From 30fdeca1d2134c07d66e0b1ee51e0ddaef52bf41 Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Tue, 27 Sep 2022 15:24:52 -0700 Subject: [PATCH] ci(netcore.yml): set version v3 to actions/checkout --- .github/workflows/netcore.yml | 48 +++++++++++++++++------------------ 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/.github/workflows/netcore.yml b/.github/workflows/netcore.yml index d7c39fdcf9..83676e46f0 100644 --- a/.github/workflows/netcore.yml +++ b/.github/workflows/netcore.yml @@ -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