1
0
forked from um/web

Fix wrong zip file in release [Skip CI]

This commit is contained in:
MengYX 2020-08-01 01:19:59 +08:00
parent 4aa2ff7f91
commit 5e8af22f08
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

View File

@ -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