forked from um/web
Fix: [CI] Generated zip structure
This commit is contained in:
parent
22312959f3
commit
5956412d7e
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user