-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cache NuGet packages. * Lock File for Cmdlets. * NuGet Cache. * Cache VS * Lock Files. * Use NuGet Caching. * Lock Files. * Test Caching. * Packager Changes. * Test Caching. * Cache .NET Framework Packages. * Remove Restore Condition. * Add Condition Back For Testing. * Include Condition.
- Loading branch information
1 parent
fab45fc
commit e2c6731
Showing
46 changed files
with
14,141 additions
and
17 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 |
---|---|---|
|
@@ -28,6 +28,18 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
||
- uses: actions/cache@v4 | ||
id: cache2 | ||
with: | ||
path: .\packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.config') }} | ||
|
||
- name: Restore | ||
shell: pwsh | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -20,6 +20,18 @@ jobs: | |
with: | ||
dotnet-version: 6.0.x | ||
|
||
- uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
||
- uses: actions/cache@v4 | ||
id: cache2 | ||
with: | ||
path: .\packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.config') }} | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
|
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
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
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 |
---|---|---|
|
@@ -20,6 +20,18 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
||
- uses: actions/cache@v4 | ||
id: cache2 | ||
with: | ||
path: .\packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.config') }} | ||
|
||
- name: Restore | ||
shell: pwsh | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -25,6 +25,18 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
||
- uses: actions/cache@v4 | ||
id: cache2 | ||
with: | ||
path: .\packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.config') }} | ||
|
||
- name: Restore | ||
shell: pwsh | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -20,6 +20,18 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
||
- uses: actions/cache@v4 | ||
id: cache2 | ||
with: | ||
path: .\packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.config') }} | ||
|
||
- name: Restore | ||
shell: pwsh | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -31,6 +31,18 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
||
- uses: actions/cache@v4 | ||
id: cache2 | ||
with: | ||
path: .\packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.config') }} | ||
|
||
- name: Restore | ||
shell: pwsh | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -27,6 +27,18 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: ~/.nuget/packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | ||
|
||
- uses: actions/cache@v4 | ||
id: cache2 | ||
with: | ||
path: .\packages | ||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.config') }} | ||
|
||
- name: Restore | ||
shell: pwsh | ||
run: | | ||
|
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
Oops, something went wrong.