-
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
e99da74
commit 68aa29b
Showing
1 changed file
with
14 additions
and
14 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' | ||
|
||
|
@@ -33,10 +33,10 @@ jobs: | |
needs: [begin-release] | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
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].7 | ||
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].7 | ||
uses: pwshrc/[email protected].9 | ||
with: | ||
run: ./build/publish.ps1 -NUGET_KEY "abc" -WhatIf | ||
|
||
|
@@ -61,10 +61,10 @@ jobs: | |
needs: [test-publish-psgallery-package] | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
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].7 | ||
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].7 | ||
uses: pwshrc/[email protected].9 | ||
env: | ||
NUGET_KEY: ${{ secrets.NUGET_KEY }} | ||
with: | ||
|
@@ -93,15 +93,15 @@ jobs: | |
needs: [publish-psgallery-package] | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
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].8 | ||
with: | ||
mode: 'download' | ||
github_token: "${{ secrets.GITHUB_TOKEN }}" | ||
|