[llvm-branch-commits] [llvm] release/22.x: workflows/release-binaries: Fix attestation artifact name (#176417) (PR #176618)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Jan 17 17:09:00 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: None (llvmbot)

<details>
<summary>Changes</summary>

Backport 38be580aeef2fe3adf50b24854f39dad4a45c283

Requested by: @<!-- -->tstellar

---
Full diff: https://github.com/llvm/llvm-project/pull/176618.diff


1 Files Affected:

- (modified) .github/workflows/release-binaries.yml (+3-1) 


``````````diff
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index e58b3443808f0..c1ceaa9a2dec6 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -62,6 +62,7 @@ jobs:
       release-binary-filename: ${{ steps.vars.outputs.release-binary-filename }}
       build-runs-on: ${{ steps.vars.outputs.build-runs-on }}
       test-runs-on: ${{ steps.vars.outputs.build-runs-on }}
+      attestation-name: ${{ steps.vars.outptus.attestation-name }}
 
     steps:
     # It's good practice to use setup-python, but this is also required on macos-14
@@ -199,6 +200,7 @@ jobs:
         echo "target-cmake-flags=$target_cmake_flags" >> $GITHUB_OUTPUT
         echo "build-runs-on=$build_runs_on" >> $GITHUB_OUTPUT
         echo "test-runs-on=$test_runs_on" >> $GITHUB_OUTPUT
+        echo "attestation-name=$RUNNER_OS-$RUNNER_ARCH-release-binary-attestation" >> $GITHUB_OUTPUT
 
   build-release-package:
     name: "Build Release Package"
@@ -334,6 +336,6 @@ jobs:
         uses: ./.github/workflows/upload-release-artifact
         with:
           artifact-id: ${{ needs.build-release-package.outputs.artifact-id }}
-          attestation-name: ${{ runner.os }}-${{ runner.arch }}-release-binary-attestation
+          attestation-name: ${{ needs.prepare.outputs.attestation-name }}
           digest: ${{ needs.build-release-package.outputs.digest }}
           upload: ${{ needs.prepare.outputs.upload }}

``````````

</details>


https://github.com/llvm/llvm-project/pull/176618


More information about the llvm-branch-commits mailing list