Build Loop #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Loop | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- develop | |
paths: | |
- Loop/** | |
permissions: | |
contents: write | |
jobs: | |
build_with_signing: | |
name: Build Loop | |
runs-on: macos-13 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3.5.3 | |
- name: Switch Xcode version | |
run: | | |
sudo xcode-select -s "/Applications/Xcode_15.0.app" | |
/usr/bin/xcodebuild -version | |
- name: Codesign Loop.app | |
uses: apple-actions/import-codesign-certs@v2 | |
with: | |
p12-file-base64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }} | |
p12-password: ${{ secrets.P12_PASSWORD }} | |
- name: Build Loop.app | |
run: | | |
sh ./resources/build_loop.sh debug | |
- name: Zip Loop.app | |
run: | | |
ls | |
ditto -c -k --sequesterRsrc --keepParent Loop.app Loop.zip | |
- name: Upload achived app | |
uses: actions/upload-artifact@v3.1.2 | |
with: | |
name: Loop.zip | |
path: Loop.zip | |
- name: Publish Prerelease | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "development_build" | |
prerelease: true | |
title: "Development Build" | |
files: Loop.zip |