forked from roothide/Bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (52 loc) · 1.45 KB
/
makefile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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