Skip to content

Commit 5120775

Browse files
authored
workflows: Fixes for building the release binaries (#83694)
Since aa02002 we weren't installing the correct dependencies, and since 2836d8e we must pass a custom token to github-upload-release.py for verifying permissions.
1 parent 9405d5a commit 5120775

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release-binaries.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,16 @@ jobs:
4848
- name: Checkout LLVM
4949
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
5050

51+
- name: Install Dependencies
52+
run: |
53+
pip install -r ./llvm/utils/git/requirements.txt
54+
5155
- name: Check Permissions
5256
env:
5357
GITHUB_TOKEN: ${{ github.token }}
58+
USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
5459
run: |
55-
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --user ${{ github.actor }} check-permissions
60+
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --user ${{ github.actor }} --user-token "$USER_TOKEN" check-permissions
5661
5762
- name: Collect Variables
5863
id: vars

0 commit comments

Comments
 (0)