Update dotnet-ci.yml

This commit is contained in:
Shawn Callegari
2023-05-10 00:31:31 -07:00
committed by GitHub
parent b24c7dc707
commit de5537d5fb
+4 -3
View File
@@ -18,6 +18,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
configuration: [Release, Debug]
dotnet-version: ['6.0.x', '7.0.x']
runs-on: ${{ matrix.os }}
env:
NUGET_CERT_REVOCATION_MODE: offline
@@ -26,10 +27,10 @@ jobs:
with:
clean: true
- name: Setup .NET
- name: Setup .NET SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: ${{ matrix.dotnet-version }}
env:
NUGET_AUTH_TOKEN: ${{ secrets.GPR_READ_TOKEN }}
@@ -101,6 +102,6 @@ jobs:
- name: Archive artifacts ${{ matrix.os }}-${{ matrix.configuration }}
uses: actions/upload-artifact@v3
with:
name: drop-${{ matrix.os }}-${{ matrix.configuration }}
name: drop-${{ matrix.os }}-dotnet${{matrix.dotnet-version}}-${{ matrix.configuration }}
path: ./out
if: ${{ github.event_name == 'push' }}