Skip to content

Commit 2c3f2f2

Browse files
authored
Update build.yml
1 parent 1307613 commit 2c3f2f2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ jobs:
4949
run: msbuild $env:Solution_Name/$env:Solution_Name.csproj /t:Restore /p:Configuration=$env:Configuration
5050
env:
5151
Configuration: ${{ matrix.configuration }}
52-
52+
- uses: actions/cache@v4
53+
with:
54+
path: ~/.nuget/packages
55+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
56+
restore-keys: |
57+
${{ runner.os }}-nuget-
5358
- name: Decode the pfx
5459
run: |
5560
$pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.BASE64_ENCODED_PFX }}")

0 commit comments

Comments
 (0)