Skip to content

Commit

Permalink
workflows: Fixes for building the release binaries (#83694)
Browse files Browse the repository at this point in the history
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.

(cherry picked from commit 5120775)
  • Loading branch information
tstellar committed May 9, 2024
1 parent d9661e1 commit 0ec1bc4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,16 @@ jobs:
- name: Checkout LLVM
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install Dependencies
run: |
pip install -r ./llvm/utils/git/requirements.txt
- name: Check Permissions
env:
GITHUB_TOKEN: ${{ github.token }}
USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
run: |
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --user ${{ github.actor }} check-permissions
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --user ${{ github.actor }} --user-token "$USER_TOKEN" check-permissions
- name: Collect Variables
id: vars
Expand Down

0 comments on commit 0ec1bc4

Please sign in to comment.