Skip to content

Commit 6953e2f

Browse files
committed
👷 Updates Publish Workflow
1 parent ddd00fc commit 6953e2f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
steps:
1616
- run: echo "Beginning release."
1717
- name: "Transfer 'version-json' artifact from triggering workflow"
18-
uses: pwshrc/[email protected].7
18+
uses: pwshrc/[email protected].9
1919
with:
2020
name: 'version-json'
2121
- name: "Transfer 'PSGallery-package' artifact from triggering workflow"
22-
uses: pwshrc/[email protected].7
22+
uses: pwshrc/[email protected].9
2323
with:
2424
name: 'PSGallery-package'
2525
- name: "Transfer 'release-notes' artifact from triggering workflow"
26-
uses: pwshrc/[email protected].7
26+
uses: pwshrc/[email protected].9
2727
with:
2828
name: 'release-notes'
2929

@@ -33,10 +33,10 @@ jobs:
3333
needs: [begin-release]
3434
steps:
3535
- name: Check out repository code
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737
- name: Populate GitVersion variables
3838
id: gitversion_vars
39-
uses: pwshrc/[email protected].5
39+
uses: pwshrc/[email protected].6
4040
with:
4141
mode: 'download'
4242
- name: "Get artifact: PSGallery-package"
@@ -46,12 +46,12 @@ jobs:
4646
path: ./out/
4747
- name: Publish Prerelease to PSGallery (WhatIf)
4848
if: steps.gitversion_vars.outputs.PreReleaseTag != ''
49-
uses: pwshrc/[email protected].7
49+
uses: pwshrc/[email protected].9
5050
with:
5151
run: ./build/publish.ps1 -NUGET_KEY "abc" -Prerelease -WhatIf
5252
- name: Publish Release to PSGallery (WhatIf)
5353
if: steps.gitversion_vars.outputs.PreReleaseTag == ''
54-
uses: pwshrc/[email protected].7
54+
uses: pwshrc/[email protected].9
5555
with:
5656
run: ./build/publish.ps1 -NUGET_KEY "abc" -WhatIf
5757

@@ -61,10 +61,10 @@ jobs:
6161
needs: [test-publish-psgallery-package]
6262
steps:
6363
- name: Check out repository code
64-
uses: actions/checkout@v3
64+
uses: actions/checkout@v4
6565
- name: Populate GitVersion variables
6666
id: gitversion_vars
67-
uses: pwshrc/[email protected].5
67+
uses: pwshrc/[email protected].6
6868
with:
6969
mode: 'download'
7070
- name: "Get artifact: PSGallery-package"
@@ -74,14 +74,14 @@ jobs:
7474
path: ./out/
7575
- name: Publish Prerelease to PSGallery
7676
if: steps.gitversion_vars.outputs.PreReleaseTag != ''
77-
uses: pwshrc/[email protected].7
77+
uses: pwshrc/[email protected].9
7878
env:
7979
NUGET_KEY: ${{ secrets.NUGET_KEY }}
8080
with:
8181
run: ./build/publish.ps1 -NUGET_KEY "$env:NUGET_KEY" -Prerelease
8282
- name: Publish Release to PSGallery
8383
if: steps.gitversion_vars.outputs.PreReleaseTag == ''
84-
uses: pwshrc/[email protected].7
84+
uses: pwshrc/[email protected].9
8585
env:
8686
NUGET_KEY: ${{ secrets.NUGET_KEY }}
8787
with:
@@ -93,15 +93,15 @@ jobs:
9393
needs: [publish-psgallery-package]
9494
steps:
9595
- name: Check out repository code
96-
uses: actions/checkout@v3
96+
uses: actions/checkout@v4
9797
- name: Get GitVersion
9898
id: gitversion_vars
99-
uses: pwshrc/[email protected].5
99+
uses: pwshrc/[email protected].6
100100
with:
101101
mode: 'download'
102102
- name: Get release notes
103103
id: get-releasenotes
104-
uses: pwshrc/[email protected].6
104+
uses: pwshrc/[email protected].8
105105
with:
106106
mode: 'download'
107107
github_token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)