File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -122,10 +122,11 @@ jobs:
122122 7.0.x
123123
124124 - name : Ensure DotNet Path
125+ if : ${{ matrix.options.os != 'windows-latest' }}
125126 run : echo "/usr/share/dotnet" >> $GITHUB_PATH
126127
127128 - name : Confirm DotNet Version
128- run : dotnet --version # This will now find dotnet in /usr/share/dotnet
129+ run : dotnet --version
129130
130131 - name : DotNet Build
131132 if : ${{ matrix.options.sdk-preview != true }}
Original file line number Diff line number Diff line change 33 [string ]$targetFramework
44)
55
6- # $env:DOTNET_ROOT = "/usr/share/dotnet"
7- # $env:PATH = "$env:DOTNET_ROOT" + [System.IO.Path]::PathSeparator + $env:PATH
6+ Write-Output $env: PATH
7+
8+ dotnet -- list- sdks
89
910# Confirm dotnet version.
1011dotnet -- version
@@ -13,6 +14,5 @@ dotnet clean -c Release
1314
1415$repositoryUrl = " https://github.com/$env: GITHUB_REPOSITORY "
1516
16-
1717# Building for a specific framework.
1818dotnet build - c Release -f $targetFramework / p:RepositoryUrl= $repositoryUrl
You can’t perform that action at this time.
0 commit comments