Skip to content

Commit

Permalink
Fix dotnet setup in release job (#447)
Browse files Browse the repository at this point in the history
Follow up to #445, which
fixed CI on the latest ubuntu runners, but missed the release job.
  • Loading branch information
julienp authored Jan 21, 2025
1 parent 67bb690 commit a3579cc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,18 @@ jobs:
with:
ref: ${{ inputs.ref }}
- name: Set up DotNet 6.0.x
id: setup-dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 6.0.x
dotnet-quality: ga
- name: Create global.json
# This ensures that we use the matrix version instead of the runner's default version
# https://github.com/actions/setup-dotnet?tab=readme-ov-file#matrix-testing
run: |
echo '{"sdk":{"version": "${{ steps.setup-dotnet.outputs.dotnet-version }}"}}' > ./global.json
- name: Dotnet version
run: dotnet --version
- name: Install Pulumi CLI
uses: pulumi/actions@v5
with:
Expand All @@ -58,4 +66,4 @@ jobs:
- name: Test Pulumi Automation SDK
run: dotnet run test-automation-sdk
- name: Publish Packages
run: dotnet run publish-sdks
run: dotnet run publish-sdks

0 comments on commit a3579cc

Please sign in to comment.