From c3acdf4bd5c7fce276d2fd474b0407f80c0433f7 Mon Sep 17 00:00:00 2001 From: Nikolay Pianikov Date: Fri, 7 Jun 2024 12:56:57 +0300 Subject: [PATCH] Use nikolayp/dotnetsdk in GitHub CI --- .github/workflows/main.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 384eef5eb..e5179e2c4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,15 +5,10 @@ on: [ push, pull_request ] jobs: build: - runs-on: ubuntu-latest + runs-on: nikolayp/dotnetsdk steps: - - uses: actions/checkout@v4 - - - name: Setup dotnet - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '8.0.x' + - uses: actions/checkout@v4 - name: Build and check run: dotnet run --project ./build -- check @@ -22,16 +17,11 @@ jobs: if: ${{ github.event_name != 'pull_request' }} - runs-on: ubuntu-latest + runs-on: nikolayp/dotnetsdk steps: - uses: actions/checkout@v4 - - name: Setup dotnet - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '8.0.x' - - name: Publish Blazor example if: ${{ github.ref == 'refs/heads/master' }} run: dotnet run --project ./build -- publish