Use unzipfx approach for Windows zip executables

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-12-02 09:22:40 +00:00
parent 0c00446480
commit ebb4091a60
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
4 changed files with 17 additions and 22 deletions

View file

@ -929,12 +929,9 @@ jobs:
- name: Pack binaries
run: |
pushd bin
mkdir CardinalPortable
mv CardinalNative.exe CardinalPortable/
ln -s ../Cardinal.clap/resources CardinalPortable/
zip -r -9 ../${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || env.SHA8 }}.zip $(ls | grep -e lv2 -e vst -e clap -e CardinalPortable)
zip -r -9 ../${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || env.SHA8 }}.zip $(ls | grep -e lv2 -e vst -e clap)
popd
zip -u -9 ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || env.SHA8 }}.zip LICENSE README.md docs/*.*
zip -u -9 ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || env.SHA8 }}.zip LICENSE README.md docs/*.* CardinalJACK.exe CardinalNative.exe
- uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || env.SHA8 }}
@ -1021,12 +1018,9 @@ jobs:
- name: Pack binaries
run: |
pushd bin
mkdir CardinalPortable
mv CardinalNative.exe CardinalPortable/
ln -s ../Cardinal.clap/resources CardinalPortable/
zip -r -9 ../${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || env.SHA8 }}.zip $(ls | grep -e lv2 -e vst -e clap -e CardinalPortable)
zip -r -9 ../${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || env.SHA8 }}.zip $(ls | grep -e lv2 -e vst -e clap)
popd
zip -u -9 ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || env.SHA8 }}.zip LICENSE README.md docs/*.*
zip -u -9 ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || env.SHA8 }}.zip LICENSE README.md docs/*.* CardinalJACK.exe CardinalNative.exe
- uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || env.SHA8 }}