-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (49 loc) · 1.47 KB
/
build.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
# This is a basic workflow to help you get started with Actions
name: Build
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
make:
name: Build Tweak
runs-on: macos-latest
env:
THEOS: theos
steps:
- name: Checkout
uses: actions/checkout@master
with:
submodules: true
- name: Install ldid and xz
run: |
brew install ldid xz
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_11.7.app
- name: Setup Theos
uses: actions/checkout@master
with:
repository: theos/theos
path: theos
submodules: recursive
- name: Download SDKs
run: |
curl -LO https://github.com/SamHep0803/iOS-13-Patched-SDK/archive/master.zip
TMP=$(mktemp -d)
unzip master.zip -d $TMP
mv $TMP/iOS-13-Patched-SDK-master/*.sdk theos/sdks
rm -r master.zip $TMP
- name: Build Tweak
id: build
run: |
make clean package FINALPACKAGE=1
echo "::set-output name=package::$(ls -t packages | head -n1)"
- name: Upload To GitHub Artifacts
uses: actions/[email protected]
with:
path: ./packages/*.deb