Merge pull request #29 from novitae/main #13
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 Workflow | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
build_macOS: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
arch: ['arm', 'x86'] | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v2 | |
- name: Set up permissions | |
run: chmod +x build-macOS_${{ matrix.arch }}.sh | |
- name: Build | |
run: ./build-macOS_${{ matrix.arch }}.sh | |
- name: Upload binary as artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: appdecrypt-macOS-${{ matrix.arch }} | |
path: appdecrypt | |
build_iOS: | |
runs-on: macos-latest | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v2 | |
- name: Set up permissions | |
run: chmod +x build-iOS.sh | |
- name: Install ldid | |
run: brew install ldid | |
- name: Build | |
run: ./build-iOS.sh | |
- name: Upload binary as artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: appdecrypt-iOS | |
path: appdecrypt |