Skip to content

Commit ab96409

Browse files
authored
workflows/release-binaries: Fix automatic upload (#107315)
1 parent ee40ffd commit ab96409

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
@@ -442,11 +442,22 @@ jobs:
442442
name: ${{ needs.prepare.outputs.release-binary-filename }}-attestation
443443
path: ${{ needs.prepare.outputs.release-binary-filename }}.jsonl
444444

445+
- name: Checkout Release Scripts
446+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
447+
with:
448+
sparse-checkout: |
449+
llvm/utils/release/github-upload-release.py
450+
llvm/utils/git/requirements.txt
451+
sparse-checkout-cone-mode: false
452+
453+
- name: Install Python Requirements
454+
run: |
455+
pip install --require-hashes -r ./llvm/utils/git/requirements.txt
456+
445457
- name: Upload Release
446458
shell: bash
447459
run: |
448-
sudo apt install python3-github
449-
./llvm-project/llvm/utils/release/github-upload-release.py \
460+
./llvm/utils/release/github-upload-release.py \
450461
--token ${{ github.token }} \
451462
--release ${{ needs.prepare.outputs.release-version }} \
452463
upload \

0 commit comments

Comments
 (0)