[llvm] workflows/release-binaries: Fetch composite actions outside of default workspace (PR #100845)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 17:40:59 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

<details>
<summary>Changes</summary>

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
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 at 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 }}
 

``````````

</details>


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


More information about the llvm-commits mailing list