forked from rt-someone/FnMacTweak
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 1.1 KB
/
Build.yml
File metadata and controls
39 lines (37 loc) · 1.1 KB
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
name: Build
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
build:
name: Build App
runs-on: macOS-latest
env:
THEOS: theos
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Dependencies
run: brew install ldid xz
- name: Install Theos
uses: Randomblock1/theos-action@v1.4
- 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 Package
id: build_package
run: |
make package FINALPACKAGE=1
echo "::set-output name=package::$(ls -t packages | head -n1)"
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ steps.build_package.outputs.package }}
path: ./packages/${{ steps.build_package.outputs.package }}
content_type: application/vnd.debian.binary-package