Skip to content

Commit 4d2568f

Browse files
committed
.github/workflows/build-win.yml: upload-artifact, download-artifact to v4 (v3 is disabled now); set name to avoid "artifact with this name already exists", merge by download back to artifact path; update delete-artifact too
1 parent 40ad67e commit 4d2568f

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/build-win.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -159,27 +159,32 @@ jobs:
159159
copy %WDIR%\.github\workflows\do-release.cmd %WDIR%\build\do-release.cmd
160160
161161
- name: Upload a Build Artifact
162-
uses: actions/upload-artifact@v3
162+
uses: actions/upload-artifact@v4
163163
with:
164164
path: ${{ github.workspace }}\build\**\*
165+
name: binary-${{ matrix.arch }}
165166

166167
do-release:
167168
runs-on: windows-2019
168169
needs: build
169170
steps:
170-
- uses: actions/download-artifact@v3
171+
- uses: actions/download-artifact@v4
172+
with:
173+
path: artifact
174+
pattern: binary-*
175+
merge-multiple: true
171176

172177
- name: Generate binaries for release
173178
shell: cmd
174179
run: |
175180
cd artifact
176181
do-release.cmd
177182
178-
- uses: geekyeggo/delete-artifact@v2
183+
- uses: geekyeggo/delete-artifact@v5
179184
with:
180-
name: artifact
185+
name: binary-*
181186

182-
- uses: actions/upload-artifact@v3
187+
- uses: actions/upload-artifact@v4
183188
with:
184189
name: 7-Zip ZS Release binaries
185190
path: |

0 commit comments

Comments
 (0)