Skip to content

Commit

Permalink
ci: optimize upload
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyc committed Sep 5, 2022
1 parent 63225e5 commit 699fbb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,7 @@ jobs:
for f in $(find scripts -name '*.sh' ); do
filename=${f##*/}
key=nightly/${filename}
./qshell rput --overwrite --mimetype text/plain ${QINIU_BUCKET} ${key} ${f}
./qshell rput --overwrite --mimetype text/plain ${QINIU_BUCKET} ${key} ${f} &
done
wait
echo "All uploaded to qiniu"
4 changes: 3 additions & 1 deletion .github/workflows/release-qiniu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,7 @@ jobs:
if (echo "$filename" | grep '.*.sh$'); then
mimetype=text/plain
fi
./qshell rput --overwrite --mimetype ${mimetype} ${QINIU_BUCKET} release/${filename} ${filename}
./qshell rput --overwrite --mimetype ${mimetype} ${QINIU_BUCKET} release/${filename} ${filename} &
done
wait
echo "All uploaded to qiniu"

0 comments on commit 699fbb5

Please sign in to comment.