Skip to content

Commit

Permalink
Fix CI release pipeline (#116)
Browse files Browse the repository at this point in the history
* Fix download artifact for checksums

* Fix delete release command

* add checkout before running gh cli

* Update to latest setup-python action
  • Loading branch information
benbrandt authored Oct 25, 2024
1 parent f6c21c7 commit 0a440e3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
submodules: "recursive"

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"

Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
with:
submodules: "recursive"

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"

Expand Down Expand Up @@ -275,7 +275,8 @@ jobs:
- name: Download release assets
uses: actions/download-artifact@v4
with:
name: componentize-py
pattern: componentize-py-*
merge-multiple: true

- name: Generate checksums
run: |
Expand Down Expand Up @@ -320,14 +321,19 @@ jobs:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "recursive"

- name: Download release assets
uses: actions/download-artifact@v4
with:
pattern: componentize-py-*
merge-multiple: true

- name: Delete canary tag
run: gh release delete --cleanup-tag -y
run: gh release delete canary --cleanup-tag -y
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 0a440e3

Please sign in to comment.