@@ -15,15 +15,15 @@ jobs:
15
15
steps :
16
16
- run : echo "Beginning release."
17
17
- name : " Transfer 'version-json' artifact from triggering workflow"
18
-
18
+
19
19
with :
20
20
name : ' version-json'
21
21
- name : " Transfer 'PSGallery-package' artifact from triggering workflow"
22
-
22
+
23
23
with :
24
24
name : ' PSGallery-package'
25
25
- name : " Transfer 'release-notes' artifact from triggering workflow"
26
-
26
+
27
27
with :
28
28
name : ' release-notes'
29
29
@@ -33,10 +33,10 @@ jobs:
33
33
needs : [begin-release]
34
34
steps :
35
35
- name : Check out repository code
36
- uses : actions/checkout@v3
36
+ uses : actions/checkout@v4
37
37
- name : Populate GitVersion variables
38
38
id : gitversion_vars
39
-
39
+
40
40
with :
41
41
mode : ' download'
42
42
- name : " Get artifact: PSGallery-package"
@@ -46,12 +46,12 @@ jobs:
46
46
path : ./out/
47
47
- name : Publish Prerelease to PSGallery (WhatIf)
48
48
if : steps.gitversion_vars.outputs.PreReleaseTag != ''
49
-
49
+
50
50
with :
51
51
run : ./build/publish.ps1 -NUGET_KEY "abc" -Prerelease -WhatIf
52
52
- name : Publish Release to PSGallery (WhatIf)
53
53
if : steps.gitversion_vars.outputs.PreReleaseTag == ''
54
-
54
+
55
55
with :
56
56
run : ./build/publish.ps1 -NUGET_KEY "abc" -WhatIf
57
57
@@ -61,10 +61,10 @@ jobs:
61
61
needs : [test-publish-psgallery-package]
62
62
steps :
63
63
- name : Check out repository code
64
- uses : actions/checkout@v3
64
+ uses : actions/checkout@v4
65
65
- name : Populate GitVersion variables
66
66
id : gitversion_vars
67
-
67
+
68
68
with :
69
69
mode : ' download'
70
70
- name : " Get artifact: PSGallery-package"
@@ -74,14 +74,14 @@ jobs:
74
74
path : ./out/
75
75
- name : Publish Prerelease to PSGallery
76
76
if : steps.gitversion_vars.outputs.PreReleaseTag != ''
77
-
77
+
78
78
env :
79
79
NUGET_KEY : ${{ secrets.NUGET_KEY }}
80
80
with :
81
81
run : ./build/publish.ps1 -NUGET_KEY "$env:NUGET_KEY" -Prerelease
82
82
- name : Publish Release to PSGallery
83
83
if : steps.gitversion_vars.outputs.PreReleaseTag == ''
84
-
84
+
85
85
env :
86
86
NUGET_KEY : ${{ secrets.NUGET_KEY }}
87
87
with :
@@ -93,15 +93,15 @@ jobs:
93
93
needs : [publish-psgallery-package]
94
94
steps :
95
95
- name : Check out repository code
96
- uses : actions/checkout@v3
96
+ uses : actions/checkout@v4
97
97
- name : Get GitVersion
98
98
id : gitversion_vars
99
-
99
+
100
100
with :
101
101
mode : ' download'
102
102
- name : Get release notes
103
103
id : get-releasenotes
104
-
104
+
105
105
with :
106
106
mode : ' download'
107
107
github_token : " ${{ secrets.GITHUB_TOKEN }}"
0 commit comments