Skip to content

Commit 97cf62d

Browse files
committed
workflows/release-binaries: Fetch composite actions outside of default workspace
Otherwise, the checkout step will override them.
1 parent 47aea61 commit 97cf62d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release-binaries.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,13 @@ jobs:
156156
sparse-checkout: |
157157
.github/workflows/
158158
sparse-checkout-cone-mode: false
159-
path: workflows
159+
# Check out outside of working directory so the source checkout doesn't
160+
# remove it.
161+
path: ../workflows
160162

161163
- name: Setup Stage
162164
id: setup-stage
163-
uses: ./workflows/.github/workflows/release-binaries-setup-stage
165+
uses: ../workflows/.github/workflows/release-binaries-setup-stage
164166

165167
- name: Checkout LLVM
166168
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -194,7 +196,7 @@ jobs:
194196
ls -ltr ${{ steps.setup-stage.outputs.build-prefix }}/build
195197
196198
- name: Save Stage
197-
uses: ./workflows/.github/workflows/release-binaries-save-stage
199+
uses: ../workflows/.github/workflows/release-binaries-save-stage
198200
with:
199201
build-prefix: ${{ steps.setup-stage.outputs.build-prefix }}
200202

0 commit comments

Comments
 (0)