-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
571cbc0
commit 0ff4d85
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,9 @@ jobs: | |
# this is the last Github runner VM that supports .Net Framework 2019 | ||
runs-on: windows-2019 | ||
|
||
env: | ||
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages | ||
|
||
steps: | ||
- name: Checkout code base | ||
uses: actions/[email protected] | ||
|
@@ -39,6 +42,16 @@ jobs: | |
- name: Setup NuGet.exe for use with actions | ||
uses: NuGet/[email protected] | ||
|
||
# Cache NuGet packages to speed up build. Hash is based on project files. | ||
# Note the appending of 0 to the key: You can modify this value to | ||
# invalidate the cache. | ||
- uses: actions/cache@v4 | ||
with: | ||
path: ${{ github.workspace }}\.nuget\packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} | ||
restore-keys: | | ||
${{ runner.os }}-nuget-0 | ||
- name: Restore NuGet packages | ||
run: nuget restore AutoTx.sln | ||
|
||
|