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 34c4d85
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ jobs:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
id: stepid
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 34c4d85

Please sign in to comment.