From 849eeb09696d54a5620cf4544b420828a74ef26a Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Fri, 21 Jun 2024 22:18:42 -0400 Subject: [PATCH] Update build-macos.yml --- .github/workflows/build-macos.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 4e2b1b6..48ebf26 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -27,7 +27,7 @@ jobs: - name: Install packages run: | - brew install glfw glew + brew install glfw glew wget - name: Install dependencies run: | @@ -41,11 +41,19 @@ jobs: env: CGO_ENABLED: 1 + - name: Package as .app + run: | + wget -o Picocrypt.app.zip https://github.com/user-attachments/files/15934813/Picocrypt.app.zip + unzip Picocrypt.app.zip + rm Picocrypt.app.zip + mv src/Picocrypt Picocrypt.app/Contents/MacOS/Picocrypt + zip -r Picocrypt.app.zip Picocrypt.app + - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: build-macos path: | - src/Picocrypt + Picocrypt.app.zip if-no-files-found: error compression-level: 9