@@ -127,7 +127,7 @@ jobs:
127
127
echo "--- Preflight summary : ${REASONS[*]:-OK} ---"
128
128
- name : Release cache lock
129
129
if : always()
130
- run : rmdir /tmp/rust-cache.lock
130
+ run : rmdir /tmp/rust-cache.lock || true
131
131
- name : Acquire AWS credentials
132
132
uses : aws-actions/configure-aws-credentials@v4
133
133
with :
@@ -168,7 +168,7 @@ jobs:
168
168
touch /tmp/rust-cache/.ready
169
169
- name : Release cache lock
170
170
if : always()
171
- run : rmdir /tmp/rust-cache.lock
171
+ run : rmdir /tmp/rust-cache.lock || true
172
172
# - name: Run cargo-deny to check licenses
173
173
# uses: EmbarkStudios/cargo-deny-action@v1
174
174
# with:
@@ -427,7 +427,7 @@ jobs:
427
427
echo "--- Preflight summary : ${REASONS[*]:-OK} ---"
428
428
- name : Release cache lock
429
429
if : always()
430
- run : rmdir /tmp/rust-cache.lock
430
+ run : rmdir /tmp/rust-cache.lock || true
431
431
- name : Get current commit SHA
432
432
id : get_sha
433
433
run : echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
@@ -492,7 +492,7 @@ jobs:
492
492
touch /tmp/rust-cache/.ready
493
493
- name : Release cache lock
494
494
if : always()
495
- run : rmdir /tmp/rust-cache.lock
495
+ run : rmdir /tmp/rust-cache.lock || true
496
496
- name : Rename artifact
497
497
run : |
498
498
cp ./partner-chains-demo-node partner-chains-node-${{ steps.get_sha.outputs.sha }}-x86_64-linux
@@ -682,7 +682,7 @@ jobs:
682
682
run : |
683
683
until mkdir /tmp/rust-cache.lock 2>/dev/null; do sleep 2; done
684
684
rm -rf /tmp/rust-cache/
685
- rmdir /tmp/rust-cache.lock || true
685
+ rmdir /tmp/rust-cache.lock || true || true
686
686
- name : Acquire cache lock
687
687
run : |
688
688
until mkdir /tmp/rust-cache.lock 2>/dev/null; do
@@ -769,7 +769,7 @@ jobs:
769
769
echo "--- Preflight summary : ${REASONS[*]:-OK} ---"
770
770
- name : Release cache lock
771
771
if : always()
772
- run : rmdir /tmp/rust-cache.lock
772
+ run : rmdir /tmp/rust-cache.lock || true
773
773
- name : Acquire AWS credentials
774
774
uses : aws-actions/configure-aws-credentials@v4
775
775
with :
@@ -810,7 +810,7 @@ jobs:
810
810
touch /tmp/rust-cache/.ready
811
811
- name : Release cache lock
812
812
if : always()
813
- run : rmdir /tmp/rust-cache.lock
813
+ run : rmdir /tmp/rust-cache.lock || true
814
814
# - name: Run cargo-deny to check licenses
815
815
# uses: EmbarkStudios/cargo-deny-action@v1
816
816
# with:
0 commit comments