Skip to content

Commit

Permalink
Fixing GH Action to restore Aspire workload (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
csharpfritz authored Jun 20, 2024
1 parent 94b00df commit b6fb23b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
path: ~/.nuget/packages
key: ${{ runner.os }}-${{ env.cache-name }}

- name: Workload install
run: dotnet workload restore

- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down Expand Up @@ -91,9 +94,6 @@ jobs:
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4

- name: Workload install
run: dotnet workload restore

- name: Version stamping
id: nbgv_version
uses: dotnet/nbgv@v0.4
Expand All @@ -109,9 +109,12 @@ jobs:
path: ~/.nuget/packages
key: ${{ runner.os }}-${{ env.cache-name }}

- name: Workload install
run: dotnet workload restore

- name: Restore
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: ./src/TagzApp.Blazor
Expand Down

0 comments on commit b6fb23b

Please sign in to comment.