Skip to content

Commit 5a305e7

Browse files
authored
Update publish.yml
1 parent b819c06 commit 5a305e7

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/publish.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,16 @@ jobs:
3131
with:
3232
global-json-file: global.json
3333

34-
- name: Install GitVersion
35-
uses: gittools/actions/gitversion/setup@v0.10.2
36-
with:
37-
versionSpec: 5.x
34+
- name: Install GitVersion
35+
uses: gittools/actions/gitversion/setup@v3.1.11
36+
with:
37+
versionSpec: 6.0.x
3838

39-
- name: Determine Version
40-
uses: gittools/actions/gitversion/execute@v0.10.2
41-
id: gitversion
39+
- name: Determine Version
40+
uses: gittools/actions/gitversion/execute@v3.1.11
41+
id: gitversion
42+
with:
43+
useConfigFile: true
4244

4345
- name: Display GitVersion outputs
4446
run: |
@@ -70,7 +72,7 @@ jobs:
7072
run: cd ./Artifacts; zip -r ../artifacts.zip *
7173

7274
- name: Upload artifact
73-
uses: actions/upload-artifact@v3
75+
uses: actions/upload-artifact@v4
7476
with:
7577
name: app
7678
path: artifacts.zip
@@ -81,7 +83,7 @@ jobs:
8183
if: github.event.inputs.sign == 'true' && github.ref == 'refs/heads/master' && needs.build.outputs.CommitsSinceVersionSource > 0
8284
steps:
8385
- name: Download artifacts
84-
uses: actions/download-artifact@v3
86+
uses: actions/download-artifact@v4
8587
with:
8688
name: app
8789

@@ -119,7 +121,7 @@ jobs:
119121
&& (needs.sign.result == 'success' || needs.sign.result == 'skipped')
120122
steps:
121123
- name: Download artifacts
122-
uses: actions/download-artifact@v3
124+
uses: actions/download-artifact@v4
123125
with:
124126
name: app
125127

0 commit comments

Comments
 (0)