From 776d2f0b357dab1e78b173a6a87a9670949bb12f Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Sun, 23 Jun 2024 22:54:32 -0400 Subject: [PATCH] Update build-macos.yml --- .github/workflows/build-macos.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index eeea318..03faa63 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -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