Fix wrong zip file in release [Skip CI]

remotes/origin/HEAD
MengYX 4 years ago
parent 4aa2ff7f91
commit 5e8af22f08
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

@ -26,12 +26,12 @@ jobs:
run: | run: |
npm run build npm run build
tar -czf legacy.tar.gz -C ./dist . tar -czf legacy.tar.gz -C ./dist .
zip -J9 legacy.zip ./dist zip -rJ9 legacy.zip ./dist
- name: Build Modern - name: Build Modern
run: | run: |
npm run build -- --modern npm run build -- --modern
tar -czf modern.tar.gz -C ./dist . tar -czf modern.tar.gz -C ./dist .
zip -J9 modern.zip ./dist zip -rJ9 modern.zip ./dist
- run: sha256sum *.tar.gz *.zip > sha256sum.txt - run: sha256sum *.tar.gz *.zip > sha256sum.txt
- name: Deploy - name: Deploy

Loading…
Cancel
Save