Skip to content

Commit a45e3e0

Browse files
committed
fff
1 parent 75c20c5 commit a45e3e0

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/build-fuzzer.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,27 @@ jobs:
5454
# for FILE in build/fuzz/quick-lint-js-fuzz-*; do echo running: $FILE; $FILE fuzz-tmp -runs=100 || exit 1; done
5555
./build/fuzz/quick-lint-js-fuzz-lex corpus/test -max_total_time=5 -verbosity=0 -reload=0 -artifact_prefix=$ARTIFACT_PREFIX -jobs=20 -workers=1
5656
57-
- name: package artifacts
57+
# - name: package artifacts
58+
# if: failure()
59+
# # TODO: remove the 'v' flag?
60+
# run: |
61+
# mkdir -p artifact-upload
62+
# tar -cvJf artifact-upload/artifacts.tar.xz $ARTIFACT_PREFIX*
63+
64+
- name: move artifacts & logs
5865
if: failure()
5966
# TODO: remove the 'v' flag?
6067
run: |
61-
mkdir -p xxx
62-
tar -cvJf xxx/artifacts.tar.xz $ARTIFACT_PREFIX*
68+
mkdir -p artifact-upload
69+
cp $ARTIFACT_PREFIX* artifact-upload/
70+
cp fuzz-* artifact-upload/
6371
6472
- name: save artifacts
6573
if: failure()
6674
uses: actions/upload-artifact@v3
6775
with:
6876
name: fuzz-artifacts-${{ github.run_number }}
69-
path: xxx
77+
path: artifact-upload
7078

7179
- name: test always
7280
if: always()

0 commit comments

Comments
 (0)