Skip to content

Commit ae912fe

Browse files
authored
Add clean-up step to CI action (#26)
2 parents abdea14 + 8e73b48 commit ae912fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
path: 'LLVM-MCA-Daemon'
2222
- name: setup and build inside Docker
2323
run: cd LLVM-MCA-Daemon/docker && ./up
24-
with:
25-
post: docker image rm mcad_dev # remove image after we're done to conserve space
24+
- name: clean up - delete docker image
25+
if: always() # this line is needed to make this action run even if the previous step fails
26+
run: docker image rm mcad_dev # remove image after we're done to conserve space
2627
#- name: install dependencies
2728
# run: sudo ./docker/setup-deps.sh
2829
#- name: build LLVM

0 commit comments

Comments
 (0)