Template
try cache
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user