Skip to content

Commit

Permalink
Use continue-on-error for jobs trying to save space by removing dir (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tehampson authored and pull[bot] committed Nov 6, 2023
1 parent a1e0962 commit 5561310
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ runs:
# there is roughly 1.4GB that remains in this cache that is useless from
# this point onwards.
shell: bash
continue-on-error: true
run: |
du -sh $HOME/.cipd-cache-dir/ || true
du -sh $HOME/.cipd-cache-dir/
rm -rf $HOME/.cipd-cache-dir/ || echo "Removing cipd cache dir failed"
- name: Dump disk info after checkout submodule & Bootstrap
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/full-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
# This should not generally be needed, however android CI runs out of space
# We do not need pigweed cross compile here because we use android NDK
# compilers. Removing this package saves a significant amount of space.
continue-on-error: true
run: |
du -sh .environment/cipd/packages/arm
rm -rf .environment/cipd/packages/arm
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/smoketest-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
# This should not generally be needed, however android CI runs out of space
# We do not need pigweed cross compile here because we use android NDK
# compilers. Removing this package save significant amount of space.
continue-on-error: true
run: |
du -sh .environment/cipd/packages/arm
rm -rf .environment/cipd/packages/arm
Expand Down

0 comments on commit 5561310

Please sign in to comment.