diff options
author | Tom Stellard <tstellar@redhat.com> | 2024-03-08 11:13:34 -0800 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2024-05-08 19:47:50 -0700 |
commit | 0ec1bc454456d4cc1bc85d96b122fd9b73a937a8 (patch) | |
tree | 61b0dc3003a93a82c1573fed862146dd3001807d | |
parent | d9661e11996def3c85975f72a1432c93015c5592 (diff) | |
download | llvm-0ec1bc454456d4cc1bc85d96b122fd9b73a937a8.tar.gz |
workflows: Fixes for building the release binaries (#83694)
Since aa02002491333c42060373bc84f1ff5d2c76b4ce we weren't installing the
correct dependencies, and since 2836d8edbfbcd461b25101ed58f93c862d65903a
we must pass a custom token to github-upload-release.py for verifying
permissions.
(cherry picked from commit 51207756b0692f325cf75560185cf0336239b3e0)
-rw-r--r-- | .github/workflows/release-binaries.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index e487b0f1d4b5..1dba91746dae 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -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 |