mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-06-28 06:06:13 +02:00
Update build-macos.yml
This commit is contained in:
parent
de4ceb8094
commit
969ca645e8
1 changed files with 2 additions and 3 deletions
5
.github/workflows/build-macos.yml
vendored
5
.github/workflows/build-macos.yml
vendored
|
@ -37,13 +37,12 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
|
|
||||||
- name: Package as .app
|
- name: Package as .app in a .dmg
|
||||||
run: |
|
run: |
|
||||||
mv dist/macos/Picocrypt.app.zip .
|
mv dist/macos/Picocrypt.app.zip .
|
||||||
unzip -d Picocrypt.app Picocrypt.app.zip
|
unzip -d Picocrypt.app Picocrypt.app.zip
|
||||||
rm Picocrypt.app.zip
|
rm Picocrypt.app.zip
|
||||||
mv src/Picocrypt Picocrypt.app/Contents/MacOS/Picocrypt
|
mv src/Picocrypt Picocrypt.app/Contents/MacOS/Picocrypt
|
||||||
zip -rX Picocrypt.zip Picocrypt.app
|
|
||||||
mkdir out
|
mkdir out
|
||||||
cp -R Picocrypt.app out
|
cp -R Picocrypt.app out
|
||||||
hdiutil create Picocrypt.dmg -volname Picocrypt -fs APFS -format UDZO -srcfolder out
|
hdiutil create Picocrypt.dmg -volname Picocrypt -fs APFS -format UDZO -srcfolder out
|
||||||
|
@ -53,7 +52,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: build-macos
|
name: build-macos
|
||||||
path: |
|
path: |
|
||||||
Picocrypt.zip
|
Picocrypt.dmg
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
compression-level: 9
|
compression-level: 9
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue