Make Bootstrap #7
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: Make Bootstrap | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build Bootstrap | |
runs-on: macos-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout Main | |
uses: actions/[email protected] | |
with: | |
path: main | |
submodules: recursive | |
- name: Install Dependencies | |
run: brew install ldid dpkg make | |
- name: Setup Theos | |
uses: actions/[email protected] | |
with: | |
repository: theos/theos | |
ref: master | |
path: theos | |
submodules: recursive | |
- name: Caching | |
id: SDK | |
uses: actions/[email protected] | |
env: | |
cache-name: iOS-15.5-SDK | |
with: | |
path: theos/sdks/ | |
key: ${{ env.cache-name }} | |
- name: Download iOS 15.5 SDK | |
if: steps.SDK.outputs.cache-hit != 'true' | |
run: | | |
git clone https://github.com/chrisharper22/sdks | |
mv *.sdk $THEOS/sdks | |
env: | |
THEOS: ${{ github.workspace }}/theos | |
- name: Build Package | |
id: build_package | |
run: | | |
cd ${{ github.workspace }}/main | |
make package FINALPACKAGE=1 | |
env: | |
THEOS: ${{ github.workspace }}/theos | |
- name: Upload Artifact | |
uses: actions/[email protected] | |
with: | |
name: Bootstrap | |
path: ${{ github.workspace }}/main/packages/${{ steps.build_package.outputs.package }} | |
if-no-files-found: error |