Skip to content

Commit ce43ec5

Browse files
mcbartonvgvassilev
authored andcommitted
[ci] Fix self hosted runner jobs
1 parent c90867a commit ce43ec5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ jobs:
113113
- name: Backup in case setup-micromamba fails to cleanup when ci job fails on self hosted runner
114114
if: ${{ runner.environment == 'self-hosted' }}
115115
run: |
116-
[ -d /root/micromamba/envs/xeus-cpp ] && rm -rf /root/micromamba/envs/xeus-cpp
117-
[ -e /root/micromamba-bin/micromamba ] && rm -rf /root/micromamba-bin/micromamba
116+
rm -rf /root/micromamba/envs/xeus-cpp || true
117+
rm -rf /root/micromamba-bin/micromamba || true
118118
119119
- name: install mamba
120120
uses: mamba-org/setup-micromamba@v2

0 commit comments

Comments
 (0)