Skip to content

Commit cba5b6f

Browse files
committed
fix the artifact downloading for prod deploys
1 parent 38f9401 commit cba5b6f

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
3939
- name: Upload artifact
4040
if: github.event_name == 'workflow_dispatch'
41-
uses: actions/upload-artifact@v4
41+
uses: actions/upload-artifact@v6
4242
with:
4343
name: ${{ github.ref_type == 'tag' && !endsWith(github.ref_name, '-canary') && 'itch' || 'kitch' }}-${{ github.ref_name }}-linux-amd64
4444
path: artifacts/linux-amd64.tar
@@ -66,7 +66,7 @@ jobs:
6666
6767
- name: Upload unsigned artifact
6868
if: github.event_name == 'workflow_dispatch'
69-
uses: actions/upload-artifact@v4
69+
uses: actions/upload-artifact@v6
7070
with:
7171
name: windows-amd64-unsigned
7272
path: artifacts/windows-amd64/
@@ -79,7 +79,7 @@ jobs:
7979

8080
steps:
8181
- name: Download unsigned artifact
82-
uses: actions/download-artifact@v4
82+
uses: actions/download-artifact@v7
8383
with:
8484
name: windows-amd64-unsigned
8585
path: artifacts/windows-amd64/
@@ -112,7 +112,7 @@ jobs:
112112
}
113113
114114
- name: Upload signed artifact
115-
uses: actions/upload-artifact@v4
115+
uses: actions/upload-artifact@v6
116116
with:
117117
name: ${{ github.ref_type == 'tag' && !endsWith(github.ref_name, '-canary') && 'itch' || 'kitch' }}-${{ github.ref_name }}-windows-amd64
118118
path: artifacts/windows-amd64/
@@ -149,7 +149,7 @@ jobs:
149149
150150
- name: Upload unsigned artifact
151151
if: github.event_name == 'workflow_dispatch'
152-
uses: actions/upload-artifact@v4
152+
uses: actions/upload-artifact@v6
153153
with:
154154
name: darwin-amd64-unsigned
155155
path: artifacts/darwin-amd64.tar
@@ -186,7 +186,7 @@ jobs:
186186
187187
- name: Upload unsigned artifact
188188
if: github.event_name == 'workflow_dispatch'
189-
uses: actions/upload-artifact@v4
189+
uses: actions/upload-artifact@v6
190190
with:
191191
name: darwin-arm64-unsigned
192192
path: artifacts/darwin-arm64.tar
@@ -204,13 +204,13 @@ jobs:
204204
node-version: '22'
205205

206206
- name: Download unsigned x64 artifact
207-
uses: actions/download-artifact@v4
207+
uses: actions/download-artifact@v7
208208
with:
209209
name: darwin-amd64-unsigned
210210
path: artifacts/
211211

212212
- name: Download unsigned arm64 artifact
213-
uses: actions/download-artifact@v4
213+
uses: actions/download-artifact@v7
214214
with:
215215
name: darwin-arm64-unsigned
216216
path: artifacts/
@@ -264,13 +264,13 @@ jobs:
264264
tar -cf artifacts/darwin-arm64-signed.tar -C artifacts/darwin-arm64 .
265265
266266
- name: Upload signed x64 artifact
267-
uses: actions/upload-artifact@v4
267+
uses: actions/upload-artifact@v6
268268
with:
269269
name: ${{ github.ref_type == 'tag' && !endsWith(github.ref_name, '-canary') && 'itch' || 'kitch' }}-${{ github.ref_name }}-darwin-amd64
270270
path: artifacts/darwin-amd64-signed.tar
271271

272272
- name: Upload signed arm64 artifact
273-
uses: actions/upload-artifact@v4
273+
uses: actions/upload-artifact@v6
274274
with:
275275
name: ${{ github.ref_type == 'tag' && !endsWith(github.ref_name, '-canary') && 'itch' || 'kitch' }}-${{ github.ref_name }}-darwin-arm64
276276
path: artifacts/darwin-arm64-signed.tar
@@ -284,10 +284,10 @@ jobs:
284284

285285
steps:
286286
- name: Download all artifacts
287-
uses: actions/download-artifact@v4
287+
uses: actions/download-artifact@v7
288288
with:
289289
path: artifacts
290-
pattern: ?itch-*
290+
pattern: "{itch,kitch}-*"
291291

292292
- name: Create archives
293293
run: |
@@ -328,10 +328,10 @@ jobs:
328328
run: npm ci
329329

330330
- name: Download all artifacts
331-
uses: actions/download-artifact@v4
331+
uses: actions/download-artifact@v7
332332
with:
333333
path: artifacts
334-
pattern: ?itch-*
334+
pattern: "{itch,kitch}-*"
335335

336336
- name: Extract tarballs (preserves permissions and symlinks)
337337
run: |

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Build, package, and run integration tests
2828
run: node release/package-all.js --os linux --arch amd64
2929
- name: Upload screenshots
30-
uses: actions/upload-artifact@v4
30+
uses: actions/upload-artifact@v6
3131
if: always()
3232
with:
3333
name: integration-test-screenshots

0 commit comments

Comments
 (0)