try cache

This commit is contained in:
Pierre Geeraert
2025-11-06 13:39:03 +00:00
parent 4de966504b
commit c6225716cf
+5 -1
View File
@@ -8,6 +8,8 @@ jobs:
matrix: matrix:
dotnet-version: [ '8.0.x' ] dotnet-version: [ '8.0.x' ]
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -23,9 +25,11 @@ jobs:
echo "${{ vars.EXECUTABLE_NAME }}" echo "${{ vars.EXECUTABLE_NAME }}"
echo "${{ vars.RUNTIME }}" echo "${{ vars.RUNTIME }}"
- name: Setup dotnet - name: Setup dotnet
uses: actions/setup-dotnet@v3 uses: actions/setup-dotnet@v5
with: with:
dotnet-version: ${{ matrix.dotnet-version }} dotnet-version: ${{ matrix.dotnet-version }}
cache: true
cache-dependency-path: subdir/packages.lock.json
- name: Install dependencies - name: Install dependencies
run: dotnet restore run: dotnet restore
- name: Test with dotnet - name: Test with dotnet