Skip to content

Commit 5ec4f60

Browse files
tstellarllvmbot
authored andcommitted
workflows/release-binaries: Fix automatic upload (llvm#107315)
(cherry picked from commit ab96409)
1 parent 327ca6c commit 5ec4f60

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/release-binaries.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,11 +450,22 @@ jobs:
450450
name: ${{ needs.prepare.outputs.release-binary-filename }}-attestation
451451
path: ${{ needs.prepare.outputs.release-binary-filename }}.jsonl
452452

453+
- name: Checkout Release Scripts
454+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
455+
with:
456+
sparse-checkout: |
457+
llvm/utils/release/github-upload-release.py
458+
llvm/utils/git/requirements.txt
459+
sparse-checkout-cone-mode: false
460+
461+
- name: Install Python Requirements
462+
run: |
463+
pip install --require-hashes -r ./llvm/utils/git/requirements.txt
464+
453465
- name: Upload Release
454466
shell: bash
455467
run: |
456-
sudo apt install python3-github
457-
./llvm-project/llvm/utils/release/github-upload-release.py \
468+
./llvm/utils/release/github-upload-release.py \
458469
--token ${{ github.token }} \
459470
--release ${{ needs.prepare.outputs.release-version }} \
460471
upload \

0 commit comments

Comments
 (0)