Skip to content

Commit faa037c

Browse files
committed
clean dotnet installation
1 parent 05d5450 commit faa037c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/dotnet.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,13 @@ jobs:
271271
image: ${{ matrix.container }}
272272
options: -v ${{ github.workspace }}:/workspace
273273
run: |
274-
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 3.1 --install-dir /usr/share/dotnet
274+
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 3.1
275+
export PATH=$PATH:~/.dotnet
276+
dotnet --info
277+
275278
cd /workspace/tests/nuget_package
276-
/usr/share/dotnet/dotnet add nuget_package.csproj package ${{ env.NUGET_NAME }} --version ${{ needs.pack.outputs.NUGET_VERSION }}
277-
/usr/share/dotnet/dotnet run
279+
dotnet add nuget_package.csproj package ${{ env.NUGET_NAME }} --version ${{ needs.pack.outputs.NUGET_VERSION }}
280+
dotnet run
278281
279282
- name: Install .NET SDK
280283
if: matrix.os == 'windows-latest' || matrix.os == 'macos-latest'

0 commit comments

Comments
 (0)