forked from absidue/YouTube-Reborn
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better Compiling (YouTube Reborn v4.2.7)
- Loading branch information
1 parent
b4e97fd
commit 36ada60
Showing
1 changed file
with
14 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 }} | ||
|
@@ -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 }} | ||
|