From d07a3d0c54d5d549e352e3dbe9f226725b6cb4b7 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Fri, 25 Oct 2024 06:15:11 +0200 Subject: [PATCH 1/4] Fix download artifact for checksums --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bf1a94d..419cab7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: | From c19967b887592cfd38acaa571bab0a9925da6d43 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Fri, 25 Oct 2024 06:44:24 +0200 Subject: [PATCH 2/4] Fix delete release command --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 419cab7..001b50c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -328,7 +328,7 @@ jobs: 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 }} From 018a23e2952945df7144d1a59dde3ff68be8b5c6 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Fri, 25 Oct 2024 08:58:30 +0200 Subject: [PATCH 3/4] add checkout before running gh cli --- .github/workflows/release.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 001b50c..567bd30 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -321,6 +321,11 @@ 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: From e58c846aa926c0c63539aca28b4b4adf7dd348b3 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Fri, 25 Oct 2024 09:51:21 +0200 Subject: [PATCH 4/4] Update to latest setup-python action --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 567bd30..9ebaabd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,7 +29,7 @@ jobs: with: submodules: "recursive" - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.12" @@ -137,7 +137,7 @@ jobs: with: submodules: "recursive" - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.12"