Update build-macos.yml

This commit is contained in:
Evan Su 2024-06-23 22:54:32 -04:00 committed by GitHub
parent 9a0014863d
commit 776d2f0b35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,9 +43,10 @@ jobs:
unzip -d Picocrypt.app Picocrypt.app.zip
rm Picocrypt.app.zip
mv src/Picocrypt Picocrypt.app/Contents/MacOS/Picocrypt
zip -r Picocrypt.zip Picocrypt.app
cd Picocrypt.app
zip -rX ../Picocrypt.app.zip *
zip -rX Picocrypt.zip Picocrypt.app
mkdir out
cp Picocrypt.app out
hdiutil create Picocrypt.dmg -volname Picocrypt -fs HFS+ -srcfolder out
- name: Upload artifacts
uses: actions/upload-artifact@v4
@ -60,6 +61,6 @@ jobs:
uses: softprops/action-gh-release@v2
with:
files: |
Picocrypt.app.zip
Picocrypt.dmg
tag_name: nightly
make_latest: true