From 28ee7f50ea1d00308b09308741534ff6c3467b06 Mon Sep 17 00:00:00 2001 From: Jackson Goode Date: Fri, 28 Jun 2024 11:14:05 -0700 Subject: [PATCH] Fix? --- .github/workflows/build.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e68326b2..f7a4d731 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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' @@ -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'