From ba1aa01e0da50e8fa3f75897613e7853bb801b4f Mon Sep 17 00:00:00 2001 From: Mathew Payne <2772944+GeekMasher@users.noreply.github.com> Date: Fri, 6 Jun 2025 16:13:38 +0100 Subject: [PATCH 1/2] feat(ci): Add Rust binaries for release --- .github/workflows/release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e25b0fd..944c862 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,20 @@ jobs: with: crate: patch-release-me + cargo-binaries: + # https://github.com/42ByteLabs/.github/blob/main/.github/workflows/cargo-binaries.yml + uses: 42ByteLabs/.github/.github/workflows/cargo-binaries.yml@v0.12 + if: ${{ needs.project.outputs.release == 'true' }} + needs: [ cargo-publish ] + secrets: inherit + permissions: + contents: write + id-token: write + attestations: write + with: + version: ${{ needs.project.outputs.version }} + crate: patch-release-me + container-publish: # https://github.com/42ByteLabs/.github/blob/main/.github/workflows/container.yml uses: 42ByteLabs/.github/.github/workflows/container.yml@v0.12 From 6ac9511327681ed7d44796484ad14e12e139630f Mon Sep 17 00:00:00 2001 From: Mathew Payne <2772944+GeekMasher@users.noreply.github.com> Date: Fri, 6 Jun 2025 16:14:36 +0100 Subject: [PATCH 2/2] fix(ci): Update release tag --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 944c862..6bb8738 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: cargo-binaries: # https://github.com/42ByteLabs/.github/blob/main/.github/workflows/cargo-binaries.yml - uses: 42ByteLabs/.github/.github/workflows/cargo-binaries.yml@v0.12 + uses: 42ByteLabs/.github/.github/workflows/cargo-binaries.yml@main if: ${{ needs.project.outputs.release == 'true' }} needs: [ cargo-publish ] secrets: inherit