diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd30808a..578a6f93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,9 +8,14 @@ on: jobs: build: + name: Deploy Site to GitHub Pages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9' - name: Publish app run: cd site/Site && dotnet publish -c Release diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 6096d7d2..e1e805e9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -7,9 +7,14 @@ on: jobs: build: + name: Push packages to NuGet runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9' - name: Pack Blazor.Diagrams.Core working-directory: src/Blazor.Diagrams.Core