Skip to content

Commit

Permalink
💚 Set up CI/CD Loop builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKai77 committed Aug 19, 2023
1 parent 4378403 commit cd7a9cf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 47 deletions.
31 changes: 14 additions & 17 deletions .github/workflows/build-loop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,24 @@ jobs:
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: Codesign Loop.app
# uses: apple-actions/import-codesign-certs@v2
# with:
# p12-file-base64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
# p12-password: ${{ secrets.P12_PASSWORD }}

- name: Install xcbeautify
run: |
brew install xcbeautify
- name: Build Loop.app
run: |
sh ./resources/build_loop.sh debug
make
- 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
name: Loop Build
path: |
Build/Loop.zip
Build/Loop.dmg
30 changes: 0 additions & 30 deletions assets/build_loop.sh

This file was deleted.

1 change: 1 addition & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ macos-release:
"./Build/Loop.dmg" \
"./Build/Loop.xcarchive/Products/Applications/"
cp -R ./Build/Loop.xcarchive/Products/Applications/ ./Build/
ditto -c -k --sequesterRsrc --keepParent ./Build/Loop.app ./Build/Loop.zip

0 comments on commit cd7a9cf

Please sign in to comment.