Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Aug 8, 2024
1 parent 7527fdb commit ef7de03
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,17 @@ jobs:
run: |
echo "$PWD"
- name: install .net
if: matrix.os == 'windows-latest'
run: |
iwr 'https://dot.net/v1/dotnet-install.ps1' -OutFile 'dotnet-install.ps1'
./dotnet-install.ps1 -InstallDir "$PWD/.dotnet" -Version '9.0.0-preview.7.24405.7' -Verbose
- name: install .net
if: matrix.os != 'windows-latest'
shell: bash
run: |
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --install-dir "$PWD/.dotnet" ---version '9.0.0-preview.7.24405.7' --verbose
- name: sent envvar
run: |
echo "$PWD/.dotnet" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: check .net
run: |
Expand Down

0 comments on commit ef7de03

Please sign in to comment.