Skip to content

Commit 2575f73

Browse files
committed
Add clean up step to remove unnecessary directories before upload the data
1 parent 7089760 commit 2575f73

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,15 @@ jobs:
5757
-c opt
5858
$(bazel query 'kind(.*wasm_.*_binary, //test/test_data/...)')
5959
60+
- name: Clean up test data
61+
run: |
62+
# Remove temporal directories
63+
for i in $(cd test/test_data && ls -1); do \
64+
if [ -d "test/test_data/$i" ]; then \
65+
rm -rf test/test_data/$i \
66+
fi \
67+
done
68+
6069
- name: Upload test data
6170
uses: actions/upload-artifact@v2
6271
with:

0 commit comments

Comments
 (0)