Skip to content

Commit

Permalink
Better Compiling (YouTube Reborn v4.2.7)
Browse files Browse the repository at this point in the history
  • Loading branch information
arichornlover authored May 19, 2024
1 parent b4e97fd commit 36ada60
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/buildapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
inputs:
reborn_version:
description: "The version of Reborn"
default: "4.2.3"
default: "4.2.7"
required: true
type: string
decrypted_youtube_url:
Expand Down Expand Up @@ -44,13 +44,13 @@ concurrency:
jobs:
build:
name: Build YouTube Reborn
runs-on: macos-latest
runs-on: macos-12
permissions:
contents: write

steps:
- name: Checkout Main
uses: actions/[email protected].0
uses: actions/[email protected].6
with:
path: main
submodules: recursive
Expand All @@ -59,32 +59,34 @@ jobs:
run: brew install ldid dpkg

- name: Setup Theos
uses: actions/[email protected].0
uses: actions/[email protected].6
with:
repository: theos/theos
repository: RootHide/theos
ref: master
path: theos
submodules: recursive

- name: Caching
id: SDK
uses: actions/cache@v3.3.1
uses: actions/cache@v4.0.2
env:
cache-name: iOS-16.2-SDK
cache-name: iOS-16.4-SDK
with:
path: theos/sdks/
key: ${{ env.cache-name }}

- name: Download iOS 16.2 SDK
if: steps.SDK.outputs.cache-hit != 'true'
run: |
svn checkout -q https://github.com/arichorn/sdks/trunk/iPhoneOS16.2.sdk
git clone -n --depth=1 --filter=tree:0 https://github.com/arichornlover/sdks.git && cd sdks
git sparse-checkout set --no-cone iPhoneOS16.2.sdk
git checkout
mv *.sdk $THEOS/sdks
env:
THEOS: ${{ github.workspace }}/theos

- name: Setup Theos Jailed
uses: actions/[email protected].0
uses: actions/[email protected].6
with:
repository: qnblackcat/theos-jailed
ref: master
Expand Down Expand Up @@ -130,7 +132,7 @@ jobs:
APP_NAME: ${{ inputs.app_name }}

- name: Upload Artifact
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4.3.3
env:
REBORN_VERSION: ${{ inputs.reborn_version }}
YOUTUBE_VERSION: ${{ inputs.youtube_version }}
Expand All @@ -141,7 +143,7 @@ jobs:

- name: Create Release
id: create_release
uses: softprops/action-gh-release@v0.1.15
uses: softprops/action-gh-release@v2.0.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REBORN_VERSION: ${{ inputs.reborn_version }}
Expand Down

0 comments on commit 36ada60

Please sign in to comment.