mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-05-12 21:58:31 +02:00
Update build-macos.yml
This commit is contained in:
parent
2aa8860e92
commit
849eeb0969
1 changed files with 10 additions and 2 deletions
12
.github/workflows/build-macos.yml
vendored
12
.github/workflows/build-macos.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue