[llvm-branch-commits] [llvm] release/23.x: workflows: Fixes for release-binaries and upload-release-artifact (#209246) (PR #210237)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 16 21:15:30 PDT 2026


https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/210237

Backport 963e226d9a6b923b10c8e328438838bd42e03d18

Requested by: @tstellar

>From 5c3b735f5eb3761eee2ebbfbce4ebe7147ef5337 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Thu, 16 Jul 2026 21:06:59 -0700
Subject: [PATCH] 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 963e226d9a6b923b10c8e328438838bd42e03d18)
---
 .github/workflows/release-binaries.yml                | 1 +
 .github/workflows/validate-release-version/action.yml | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 6fdf5e8c14cb8..d2dbb656d371d 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -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
diff --git a/.github/workflows/validate-release-version/action.yml b/.github/workflows/validate-release-version/action.yml
index 1a10ad67cb549..669369eaf82e6 100644
--- a/.github/workflows/validate-release-version/action.yml
+++ b/.github/workflows/validate-release-version/action.yml
@@ -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"



More information about the llvm-branch-commits mailing list