Skip to content

workflows/release-binaries: Checkout validate-release-version in upload step#209246

Open
tstellar wants to merge 1 commit into
llvm:mainfrom
tstellar:release-fix-for-workflow
Open

workflows/release-binaries: Checkout validate-release-version in upload step#209246
tstellar wants to merge 1 commit into
llvm:mainfrom
tstellar:release-fix-for-workflow

Conversation

@tstellar

Copy link
Copy Markdown
Contributor

The upload-release-artifact composite action uses
validate-release-version, so we need to make sure to check it out.

Also, run the upload step during PR testing so we can catch errors like this in the future.

…ad step

The upload-release-artifact composite action uses
validate-release-version, so we need to make sure to check it out.

Also, run the upload step during PR testing so we can catch errors
like this in the future.
@llvmorg-github-actions

Copy link
Copy Markdown

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

Changes

The upload-release-artifact composite action uses
validate-release-version, so we need to make sure to check it out.

Also, run the upload step during PR testing so we can catch errors like this in the future.


Full diff: https://github.com/llvm/llvm-project/pull/209246.diff

1 Files Affected:

  • (modified) .github/workflows/release-binaries.yml (+1-2)
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index 6fdf5e8c14cb8..2afaf70b5afd3 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -371,8 +371,6 @@ jobs:
     needs:
       - prepare
       - build-release-package
-    if: >-
-      github.event_name != 'pull_request'
     runs-on: ubuntu-24.04
     permissions:
       contents: write # For release uploads
@@ -386,6 +384,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

@boomanaiden154 boomanaiden154 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants