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

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 27 11:18:57 PDT 2024


================
@@ -156,17 +156,29 @@ jobs:
         sparse-checkout: |
           .github/workflows/
         sparse-checkout-cone-mode: false
+        # 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
+    # Move workflows so they don't get overwritten by checkout.  The checkout job
+    # requires checking out to github.workspace.
+    - shell: bash
----------------
tstellar wrote:

It wouldn't let me specify a `uses` path that was outside of the github workspace.

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


More information about the llvm-commits mailing list