Skip to content

Commit

Permalink
Attempt to prevent the .NET 6 build from picking up newer .NET versio…
Browse files Browse the repository at this point in the history
…ns from the environment

This follows the recommended approach from https://github.com/actions/setup-dotnet
  • Loading branch information
cameronwhite committed Oct 12, 2023
1 parent 9c24acf commit ca891b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{matrix.dotnet_version}}
- name: Create temporary global.json
run: echo '{"sdk":{"version": "${{ steps.stepid.outputs.dotnet-version }}"} }' > ./global.json
- name: Install Apt Dependencies
run: |
sudo apt update
Expand Down

0 comments on commit ca891b9

Please sign in to comment.