mirror of
https://git.unlock-music.dev/um/web.git
synced 2024-12-29 07:15:03 +08:00
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 }}
|
||||
run: |
|
||||
npm run make-extension
|
||||
zip -rJ9 extension.zip ./dist
|
||||
cd dist
|
||||
zip -rJ9 ../extension.zip *
|
||||
cd ..
|
||||
|
||||
- name: Publish artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -36,9 +36,13 @@ jobs:
|
||||
run: |
|
||||
npm run build
|
||||
tar -czf legacy.tar.gz -C ./dist .
|
||||
zip -rJ9 legacy.zip ./dist
|
||||
cd dist
|
||||
zip -rJ9 ../legacy.zip *
|
||||
cd ..
|
||||
npm run make-extension
|
||||
zip -rJ9 extension.zip ./dist
|
||||
cd dist
|
||||
zip -rJ9 ../extension.zip *
|
||||
cd ..
|
||||
|
||||
- name: Build Modern
|
||||
env:
|
||||
@ -46,7 +50,9 @@ jobs:
|
||||
run: |
|
||||
npm run build -- --modern
|
||||
tar -czf modern.tar.gz -C ./dist .
|
||||
zip -rJ9 modern.zip ./dist
|
||||
cd dist
|
||||
zip -rJ9 ../modern.zip *
|
||||
cd ..
|
||||
|
||||
- name: Checksum
|
||||
run: sha256sum *.tar.gz *.zip > sha256sum.txt
|
||||
|
Loading…
Reference in New Issue
Block a user