-
Notifications
You must be signed in to change notification settings - Fork 0
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
f48e567
commit 40a3a23
Showing
1 changed file
with
34 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 |
---|---|---|
|
@@ -70,6 +70,23 @@ jobs: | |
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: "Cache: Nested PSGallery Modules" | ||
id: cacher | ||
uses: actions/cache@v3 | ||
with: | ||
path: ./lib | ||
key: lib-PSGallery-${{ hashFiles('./NuGet.PSGallery.config', './packages.PSGallery.config') }} | ||
- name: Install NuGet | ||
uses: nuget/[email protected] | ||
if: steps.cacher.outputs.cache-hit != 'true' | ||
with: | ||
nuget-version: '6.x' | ||
- name: Restore Nested PSGallery Modules | ||
if: steps.cacher.outputs.cache-hit != 'true' | ||
shell: pwsh | ||
run: | | ||
Set-PSRepository PSGallery -InstallationPolicy Trusted | ||
./build/restore.ps1 | ||
- name: Download PSGallery package | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
@@ -90,6 +107,23 @@ jobs: | |
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
- name: "Cache: Nested PSGallery Modules" | ||
id: cacher | ||
uses: actions/cache@v3 | ||
with: | ||
path: ./lib | ||
key: lib-PSGallery-${{ hashFiles('./NuGet.PSGallery.config', './packages.PSGallery.config') }} | ||
- name: Install NuGet | ||
uses: nuget/[email protected] | ||
if: steps.cacher.outputs.cache-hit != 'true' | ||
with: | ||
nuget-version: '6.x' | ||
- name: Restore Nested PSGallery Modules | ||
if: steps.cacher.outputs.cache-hit != 'true' | ||
shell: pwsh | ||
run: | | ||
Set-PSRepository PSGallery -InstallationPolicy Trusted | ||
./build/restore.ps1 | ||
- name: Download version.json | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|