[no ci] CI for OS X

依赖于一个还没上传的模板,还没决定这个要放在哪,所以链接留空。
This commit is contained in:
Trebor Huang
2021-08-01 02:49:28 +08:00
parent 1e4f11a6ce
commit 25f87cae53
2 changed files with 93 additions and 0 deletions

View File

@@ -86,3 +86,30 @@ jobs:
with:
name: Android
path: ${{steps.sign_app.outputs.signedReleaseFile}}
build-macOS:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- name: Pack love
run : zip -r Techmino.love document media parts Zframework conf.lua font.ttf main.lua
- name: Download template
run: |
curl -OL [[template-link]]
unzip Techmino.app.zip
- name: Modify template
run: |
python3 .github/workflows/updateOSXVersion.py
mv Techmino.love Techmino.app/Contents/Resources
- name: Pack Techmino
run: |
zip -r -y Techmino-Packed.app.zip Techmino.app
- name: Artifact
uses: actions/upload-artifact@v1.0.0
with:
name: macOS
path: Techmino-Packed.app.zip