workflows: Fixes for release-binaries and upload-release-artifact (#209246)

There were some bugs in upload-release-artifact workflow and
release-binaries was not including this action in its checkout.

(cherry picked from commit 963e226d9a)
This commit is contained in:
Tom Stellard 2026-07-16 21:06:59 -07:00 committed by Douglas Yung
parent f83ba9d97b
commit 278c31bfb8
No known key found for this signature in database
GPG key ID: 316C56D064CACBA5
2 changed files with 3 additions and 2 deletions

View file

@ -386,6 +386,7 @@ jobs:
persist-credentials: false
sparse-checkout: |
.github/workflows/upload-release-artifact
.github/workflows/validate-release-version
llvm/utils/release/github-upload-release.py
llvm/utils/git/requirements.txt
sparse-checkout-cone-mode: false

View file

@ -9,7 +9,7 @@ runs:
using: "composite"
steps:
- env:
RELEASE_VERSON: ${{ inputs.release-version }}
RELEASE_VERSION: ${{ inputs.release-version }}
shell: bash
run: |
grep -e '^[0-9]\+\.[0-9]\+\.[0-9]\+\(-rc[0-9]\+\)\?$' <<< "$RELEASE_VERSION"