Skip to content
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

Merged
merged 6 commits into from
Jul 31, 2024

Conversation

tstellar
Copy link
Collaborator

Otherwise, the checkout step will override them.

…t workspace

Otherwise, the checkout step will override them.
@llvmbot
Copy link
Collaborator

llvmbot commented Jul 27, 2024

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

Changes

Otherwise, the checkout step will override them.


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

1 Files Affected:

  • (modified) .github/workflows/release-binaries.yml (+5-3)
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 }}
 

@tstellar
Copy link
Collaborator Author

The test failures with this are expected. I think this fix is ready to land.

Copy link
Contributor

@boomanaiden154 boomanaiden154 left a 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.

.github/workflows/release-binaries.yml Show resolved Hide resolved
@tstellar tstellar merged commit 41003ff into llvm:main Jul 31, 2024
16 of 20 checks passed
clementval pushed a commit to clementval/llvm-project that referenced this pull request Jul 31, 2024
…t workspace (llvm#100845)

Otherwise, the checkout step will override them.
tstellar added a commit to tstellar/llvm-project that referenced this pull request Aug 3, 2024
…t workspace (llvm#100845)

Otherwise, the checkout step will override them.

(cherry picked from commit 41003ff)
tru pushed a commit to tstellar/llvm-project that referenced this pull request Aug 5, 2024
…t workspace (llvm#100845)

Otherwise, the checkout step will override them.

(cherry picked from commit 41003ff)
banach-space pushed a commit to banach-space/llvm-project that referenced this pull request Aug 7, 2024
…t workspace (llvm#100845)

Otherwise, the checkout step will override them.
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.

3 participants