Skip to content

Commit

Permalink
Fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksongoode committed Jun 28, 2024
1 parent 054f5f0 commit 28ee7f5
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,19 @@ jobs:
cargo install cargo-bundle
cargo bundle --release
mkdir -p target/release/bundle/osx/Psst.app/Contents/MacOS
cp ../target/release/psst-gui target/release/bundle/osx/Psst.app/Contents/MacOS/psst-gui
working-directory: psst-gui
cp target/release/psst-gui target/release/bundle/osx/Psst.app/Contents/MacOS/psst-gui
- name: Create macOS Disk Image
if: runner.os == 'macOS'
run: |
hdiutil create Psst-uncompressed.dmg -volname "Psst" -srcfolder psst-gui/target/release/bundle/osx
hdiutil convert Psst-uncompressed.dmg -format UDZO -o Psst.dmg
hdiutil create -volname "Psst" -srcfolder target/release/bundle/osx -ov -format UDZO Psst.dmg
- name: Upload macOS Disk Image
uses: actions/upload-artifact@v4
if: runner.os == 'macOS'
with:
name: Psst.dmg
path: ./Psst.dmg

- name: Make Linux Binary Executable
if: runner.os == 'Linux'
Expand All @@ -87,13 +92,6 @@ jobs:
name: psst-gui
path: target/release/psst-gui

- name: Upload macOS Disk Image
uses: actions/upload-artifact@v4
if: runner.os == 'macOS'
with:
name: Psst.dmg
path: ./Psst.dmg

- name: Upload Windows Executable
uses: actions/upload-artifact@v4
if: runner.os == 'Windows'
Expand Down

0 comments on commit 28ee7f5

Please sign in to comment.