Skip to content

Commit

Permalink
try to set framework on restore
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Jan 11, 2024
1 parent 427979a commit d512b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: "echo '{\"sdk\":{\"version\": \"${{ steps.setup.outputs.dotnet-version }}\"}}' > ./global.json"
working-directory: getargv.cs
- name: Restore dependencies
run: dotnet restore
run: dotnet restore -p:TargetFramework=net${{ matrix.dotnet }}
working-directory: getargv.cs
- name: Build
run: dotnet build --no-restore --framework net${{ matrix.dotnet }}
Expand Down

0 comments on commit d512b4e

Please sign in to comment.