Actions: dependency caching

chances are this probably won't do much, i'll revert this commit if this doesn't
This commit is contained in:
pizzaboxer 2023-07-23 23:10:40 +01:00 committed by GitHub
parent 39fe775fb7
commit bdcb4865c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,14 @@ jobs:
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.x'
dotnet-version: '6.0.x'
- uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Restore dependencies
run: dotnet restore