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:
dotnet-version: [ '8.0.x' ]
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
runs-on: ubuntu-latest
steps:
@@ -23,9 +25,11 @@ jobs:
echo "${{ vars.EXECUTABLE_NAME }}"
echo "${{ vars.RUNTIME }}"
- name: Setup dotnet
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ matrix.dotnet-version }}
cache: true
cache-dependency-path: subdir/packages.lock.json
- name: Install dependencies
run: dotnet restore
- name: Test with dotnet