mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-05-13 06:08:30 +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
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
brew install glfw glew
|
brew install glfw glew wget
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -41,11 +41,19 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CGO_ENABLED: 1
|
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
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build-macos
|
name: build-macos
|
||||||
path: |
|
path: |
|
||||||
src/Picocrypt
|
Picocrypt.app.zip
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
compression-level: 9
|
compression-level: 9
|
||||||
|
|
Loading…
Add table
Reference in a new issue