Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set DOTNET_INSTALL_DIR #492

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

# HACK Workaround for https://github.com/dotnet/sdk/issues/42211
- name: Update .NET Aspire workload
if: runner.os == 'Windows'
if: false && runner.os == 'Windows'
shell: pwsh
run: |
$manifest = @'
Expand All @@ -41,11 +41,19 @@ jobs:
dotnet workload update --advertising-manifests-only && `
dotnet workload update --from-rollback-file $manifestPath

- name: Set DOTNET_INSTALL_DIR
if: runner.os == 'Windows'
shell: pwsh
run: |
"DOTNET_INSTALL_DIR=${env:GITHUB_WORKSPACE}\.dotnet" >> ${env:GITHUB_ENV}

- name: Checkout code
uses: actions/checkout@v4

- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
env:
DOTNET_INSTALL_DIR: ${{ env.DOTNET_INSTALL_DIR }}

- name: Build, Test and Publish
id: build
Expand Down