Skip to content

Commit 68ae866

Browse files
authored
CICD.yml: Save disk space at shared action
1 parent b3d05b6 commit 68ae866

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CICD.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ jobs:
246246
- name: "`cargo update` testing"
247247
shell: bash
248248
run: |
249+
command -v sudo && sudo rm -rf /usr/local/lib/android /usr/share/dotnet # avoid no space left
250+
df -h ||:
249251
## `cargo update` testing
250252
# * convert any errors/warnings to GHA UI annotations; ref: <https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message>
251253
for dir in "." "fuzz"; do
@@ -1194,8 +1196,6 @@ jobs:
11941196
- name: build and test all features individually
11951197
shell: bash
11961198
run: |
1197-
command -v sudo && sudo rm -rf /usr/local/lib/android /usr/share/dotnet # avoid no space left
1198-
df -h ||:
11991199
CARGO_FEATURES_OPTION='--features=${{ matrix.job.features }}' ;
12001200
for f in $(util/show-utils.sh ${CARGO_FEATURES_OPTION})
12011201
do

0 commit comments

Comments
 (0)