We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d77bf19 commit cd92337Copy full SHA for cd92337
1 file changed
.github/workflows/dotnet.yml
@@ -14,6 +14,9 @@ on:
14
jobs:
15
net5_above:
16
runs-on: ubuntu-latest
17
+ defaults:
18
+ run:
19
+ working-directory: ${{ github.workspace }}
20
strategy:
21
matrix:
22
dotnet-version: [ '8.0', '10.0' ]
@@ -23,6 +26,12 @@ jobs:
23
26
uses: actions/setup-dotnet@v5
24
27
with:
25
28
dotnet-version: ${{ matrix.dotnet-version }}.x
29
+ - uses: actions/cache@v4
30
+ with:
31
+ path: ~/.nuget/packages
32
+ key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.sln') }}
33
+ restore-keys: |
34
+ ${{ runner.os }}-nuget-
35
- name: Restore dependencies
36
run: dotnet restore
37
- name: Build
0 commit comments