-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
workflows/release-binaries: Fetch composite actions outside of default workspace #100845
Conversation
…t workspace Otherwise, the checkout step will override them.
@llvm/pr-subscribers-github-workflow Author: Tom Stellard (tstellar) ChangesOtherwise, the checkout step will override them. Full diff: https://github.com/llvm/llvm-project/pull/100845.diff 1 Files Affected:
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml
index f7ed88ff03add..927eee3157739 100644
--- a/.github/workflows/release-binaries.yml
+++ b/.github/workflows/release-binaries.yml
@@ -156,11 +156,13 @@ jobs:
sparse-checkout: |
.github/workflows/
sparse-checkout-cone-mode: false
- path: workflows
+ # Check out outside of working directory so the source checkout doesn't
+ # remove it.
+ path: ../workflows
- name: Setup Stage
id: setup-stage
- uses: ./workflows/.github/workflows/release-binaries-setup-stage
+ uses: ../workflows/.github/workflows/release-binaries-setup-stage
- name: Checkout LLVM
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -194,7 +196,7 @@ jobs:
ls -ltr ${{ steps.setup-stage.outputs.build-prefix }}/build
- name: Save Stage
- uses: ./workflows/.github/workflows/release-binaries-save-stage
+ uses: ../workflows/.github/workflows/release-binaries-save-stage
with:
build-prefix: ${{ steps.setup-stage.outputs.build-prefix }}
|
The test failures with this are expected. I think this fix is ready to land. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment. Otherwise LGTM.
…t workspace (llvm#100845) Otherwise, the checkout step will override them.
…t workspace (llvm#100845) Otherwise, the checkout step will override them. (cherry picked from commit 41003ff)
…t workspace (llvm#100845) Otherwise, the checkout step will override them. (cherry picked from commit 41003ff)
…t workspace (llvm#100845) Otherwise, the checkout step will override them.
Otherwise, the checkout step will override them.