[llvm-branch-commits] [llvm] release/19.x: workflows/release-binaries: Fix automatic upload (#107315) (PR #108422)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Sep 12 09:56:15 PDT 2024
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/108422
Backport ab96409180aaad5417030f06a386253722a99d71
Requested by: @tstellar
>From 5ec4f6033e5ad37f3a6f30ca48b74305770e5796 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Thu, 12 Sep 2024 09:50:57 -0700
Subject: [PATCH] workflows/release-binaries: Fix automatic upload (#107315)
(cherry picked from commit ab96409180aaad5417030f06a386253722a99d71)
---
.github/workflows/release-binaries.yml | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 509016e5b89c45..fcd371d49e6c91 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -450,11 +450,22 @@ jobs:
name: ${{ needs.prepare.outputs.release-binary-filename }}-attestation
path: ${{ needs.prepare.outputs.release-binary-filename }}.jsonl
+ - name: Checkout Release Scripts
+ uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
+ with:
+ sparse-checkout: |
+ llvm/utils/release/github-upload-release.py
+ llvm/utils/git/requirements.txt
+ sparse-checkout-cone-mode: false
+
+ - name: Install Python Requirements
+ run: |
+ pip install --require-hashes -r ./llvm/utils/git/requirements.txt
+
- name: Upload Release
shell: bash
run: |
- sudo apt install python3-github
- ./llvm-project/llvm/utils/release/github-upload-release.py \
+ ./llvm/utils/release/github-upload-release.py \
--token ${{ github.token }} \
--release ${{ needs.prepare.outputs.release-version }} \
upload \
More information about the llvm-branch-commits
mailing list