Skip to content

Commit 213679f

Browse files
committed
chore(ci): add step to delete build artifacts after installation if building llvm
1 parent 4fd2ae4 commit 213679f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/actions/build-llvm/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ runs:
2323
if: steps.llvm-cache.outputs.cache-hit != 'true'
2424
run: cargo nexus build-sys build --targets llvm
2525
shell: bash
26+
- name: Delete build artifacts
27+
if: steps.llvm-cache.outputs.cache-hit != 'true'
28+
run: rm -rf nexusbuild/llvm/{*.build,*.src*}
29+
shell: bash
2630
- name: Save llvm
2731
if: steps.llvm-cache.outputs.cache-hit != 'true'
2832
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)