MengYX
4 years ago
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
2 changed files with
12 additions and
4 deletions
-
.github/workflows/build.yml
-
.github/workflows/release.yml
|
@ -65,7 +65,9 @@ jobs: |
|
|
if: ${{ matrix.BUILD_EXTENSION }} |
|
|
if: ${{ matrix.BUILD_EXTENSION }} |
|
|
run: | |
|
|
run: | |
|
|
npm run make-extension |
|
|
npm run make-extension |
|
|
zip -rJ9 extension.zip ./dist |
|
|
cd dist |
|
|
|
|
|
zip -rJ9 ../extension.zip * |
|
|
|
|
|
cd .. |
|
|
|
|
|
|
|
|
- name: Publish artifact |
|
|
- name: Publish artifact |
|
|
uses: actions/upload-artifact@v2 |
|
|
uses: actions/upload-artifact@v2 |
|
|
|
@ -36,9 +36,13 @@ jobs: |
|
|
run: | |
|
|
run: | |
|
|
npm run build |
|
|
npm run build |
|
|
tar -czf legacy.tar.gz -C ./dist . |
|
|
tar -czf legacy.tar.gz -C ./dist . |
|
|
zip -rJ9 legacy.zip ./dist |
|
|
cd dist |
|
|
|
|
|
zip -rJ9 ../legacy.zip * |
|
|
|
|
|
cd .. |
|
|
npm run make-extension |
|
|
npm run make-extension |
|
|
zip -rJ9 extension.zip ./dist |
|
|
cd dist |
|
|
|
|
|
zip -rJ9 ../extension.zip * |
|
|
|
|
|
cd .. |
|
|
|
|
|
|
|
|
- name: Build Modern |
|
|
- name: Build Modern |
|
|
env: |
|
|
env: |
|
@ -46,7 +50,9 @@ jobs: |
|
|
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 -rJ9 modern.zip ./dist |
|
|
cd dist |
|
|
|
|
|
zip -rJ9 ../modern.zip * |
|
|
|
|
|
cd .. |
|
|
|
|
|
|
|
|
- name: Checksum |
|
|
- name: Checksum |
|
|
run: sha256sum *.tar.gz *.zip > sha256sum.txt |
|
|
run: sha256sum *.tar.gz *.zip > sha256sum.txt |
|
|