mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
scripts(visual-regression): prepare files before upload (#48316)
This commit is contained in:
parent
52df99f9bf
commit
4f23faf0dd
@ -98,8 +98,12 @@ jobs:
|
||||
npm i ali-oss --no-save
|
||||
echo "✅ Install `ali-oss` Finished"
|
||||
|
||||
echo "🔍 Preparing"
|
||||
mv ./tmp/imageSnapshots.tar.gz ./imageSnapshots.tar.gz
|
||||
mv ./tmp/visual-regression-ref.txt ./visual-regression-ref.txt
|
||||
|
||||
echo "🤖 Uploading"
|
||||
node scripts/visual-regression/upload.js ./tmp/imageSnapshots.tar.gz --ref=$HEAD_SHA
|
||||
node scripts/visual-regression/upload.js ./tmp/visual-regression-ref.txt --ref=$HEAD_BRANCH
|
||||
node scripts/visual-regression/upload.js ./imageSnapshots.tar.gz --ref=$HEAD_SHA
|
||||
node scripts/visual-regression/upload.js ./visual-regression-ref.txt --ref=$HEAD_BRANCH
|
||||
|
||||
echo "✅ Uploaded"
|
||||
|
Loading…
Reference in New Issue
Block a user