Skip to content

Commit

Permalink
Use nikolayp/dotnetsdk in GitHub CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayPianikov committed Jun 7, 2024
1 parent d335153 commit c3acdf4
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c3acdf4

Please sign in to comment.