From 138adbd543575db461251591bea51920ac48c2d2 Mon Sep 17 00:00:00 2001 From: Paul Nodet <5941125+pnodet@users.noreply.github.com> Date: Sat, 4 Jul 2026 01:12:31 +0200 Subject: [PATCH] ci: pass matrix target to upload-rust-binary-action and gate on release The upload job never passed target to the action, so every matrix entry built the host triple and cross-target artifacts were wrong. Also make uploads wait for the release to exist and drop the unused matrix.features reference. Co-Authored-By: Claude Fable 5 --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6a05e1..244f049 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} upload-bin: + needs: create-release strategy: matrix: include: @@ -37,7 +38,7 @@ jobs: - uses: taiki-e/upload-rust-binary-action@v1 with: bin: las-cleanup + target: ${{ matrix.target }} tar: unix zip: all - features: ${{ matrix.features || '' }} token: ${{ secrets.GITHUB_TOKEN }}