-
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
d3e28d3
commit 27a1c1d
Showing
1 changed file
with
11 additions
and
11 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 |
---|---|---|
|
@@ -15,15 +15,15 @@ jobs: | |
steps: | ||
- run: echo "Beginning release." | ||
- name: "Transfer 'version-json' artifact from triggering workflow" | ||
uses: pwshrc/[email protected].7 | ||
uses: pwshrc/[email protected].9 | ||
with: | ||
name: 'version-json' | ||
- name: "Transfer 'PSGallery-package' artifact from triggering workflow" | ||
uses: pwshrc/[email protected].7 | ||
uses: pwshrc/[email protected].9 | ||
with: | ||
name: 'PSGallery-package' | ||
- name: "Transfer 'release-notes' artifact from triggering workflow" | ||
uses: pwshrc/[email protected].7 | ||
uses: pwshrc/[email protected].9 | ||
with: | ||
name: 'release-notes' | ||
|
||
|
@@ -36,7 +36,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
- name: Populate GitVersion variables | ||
id: gitversion_vars | ||
uses: pwshrc/[email protected].5 | ||
uses: pwshrc/[email protected].6 | ||
with: | ||
mode: 'download' | ||
- name: "Get artifact: PSGallery-package" | ||
|
@@ -46,12 +46,12 @@ jobs: | |
path: ./out/ | ||
- name: Publish Prerelease to PSGallery (WhatIf) | ||
if: steps.gitversion_vars.outputs.PreReleaseTag != '' | ||
uses: pwshrc/[email protected].8 | ||
uses: pwshrc/[email protected].9 | ||
with: | ||
run: ./build/publish.ps1 -NUGET_KEY "abc" -Prerelease -WhatIf | ||
- name: Publish Release to PSGallery (WhatIf) | ||
if: steps.gitversion_vars.outputs.PreReleaseTag == '' | ||
uses: pwshrc/[email protected].8 | ||
uses: pwshrc/[email protected].9 | ||
with: | ||
run: ./build/publish.ps1 -NUGET_KEY "abc" -WhatIf | ||
|
||
|
@@ -64,7 +64,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
- name: Populate GitVersion variables | ||
id: gitversion_vars | ||
uses: pwshrc/[email protected].5 | ||
uses: pwshrc/[email protected].6 | ||
with: | ||
mode: 'download' | ||
- name: "Get artifact: PSGallery-package" | ||
|
@@ -74,14 +74,14 @@ jobs: | |
path: ./out/ | ||
- name: Publish Prerelease to PSGallery | ||
if: steps.gitversion_vars.outputs.PreReleaseTag != '' | ||
uses: pwshrc/[email protected].8 | ||
uses: pwshrc/[email protected].9 | ||
env: | ||
NUGET_KEY: ${{ secrets.NUGET_KEY }} | ||
with: | ||
run: ./build/publish.ps1 -NUGET_KEY "$env:NUGET_KEY" -Prerelease | ||
- name: Publish Release to PSGallery | ||
if: steps.gitversion_vars.outputs.PreReleaseTag == '' | ||
uses: pwshrc/[email protected].8 | ||
uses: pwshrc/[email protected].9 | ||
env: | ||
NUGET_KEY: ${{ secrets.NUGET_KEY }} | ||
with: | ||
|
@@ -96,12 +96,12 @@ jobs: | |
uses: actions/checkout@v4 | ||
- name: Get GitVersion | ||
id: gitversion_vars | ||
uses: pwshrc/[email protected].5 | ||
uses: pwshrc/[email protected].6 | ||
with: | ||
mode: 'download' | ||
- name: Get release notes | ||
id: get-releasenotes | ||
uses: pwshrc/[email protected].6 | ||
uses: pwshrc/[email protected].7 | ||
with: | ||
mode: 'download' | ||
github_token: "${{ secrets.GITHUB_TOKEN }}" | ||
|