Skip to content

Commit 0a440e3

Browse files
authored
Fix CI release pipeline (#116)
* Fix download artifact for checksums * Fix delete release command * add checkout before running gh cli * Update to latest setup-python action
1 parent f6c21c7 commit 0a440e3

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
submodules: "recursive"
3131

32-
- uses: actions/setup-python@v4
32+
- uses: actions/setup-python@v5
3333
with:
3434
python-version: "3.12"
3535

@@ -137,7 +137,7 @@ jobs:
137137
with:
138138
submodules: "recursive"
139139

140-
- uses: actions/setup-python@v4
140+
- uses: actions/setup-python@v5
141141
with:
142142
python-version: "3.12"
143143

@@ -275,7 +275,8 @@ jobs:
275275
- name: Download release assets
276276
uses: actions/download-artifact@v4
277277
with:
278-
name: componentize-py
278+
pattern: componentize-py-*
279+
merge-multiple: true
279280

280281
- name: Generate checksums
281282
run: |
@@ -320,14 +321,19 @@ jobs:
320321
if: github.ref == 'refs/heads/main'
321322
runs-on: ubuntu-latest
322323
steps:
324+
- name: Checkout
325+
uses: actions/checkout@v4
326+
with:
327+
submodules: "recursive"
328+
323329
- name: Download release assets
324330
uses: actions/download-artifact@v4
325331
with:
326332
pattern: componentize-py-*
327333
merge-multiple: true
328334

329335
- name: Delete canary tag
330-
run: gh release delete --cleanup-tag -y
336+
run: gh release delete canary --cleanup-tag -y
331337
env:
332338
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
333339

0 commit comments

Comments
 (0)