mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-21 07:41:59 +00:00
16.5 SDK, latest theos
This commit is contained in:
parent
cd9934bc1a
commit
c397ccbab0
1 changed files with 15 additions and 10 deletions
25
.github/workflows/buildapp.yml
vendored
25
.github/workflows/buildapp.yml
vendored
|
|
@ -36,7 +36,12 @@ on:
|
||||||
default: true
|
default: true
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
upload_artifact:
|
||||||
|
description: "Upload Artifact"
|
||||||
|
default: true
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
@ -44,7 +49,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build uYouPlus
|
name: Build uYouPlus
|
||||||
runs-on: macos-11
|
runs-on: macos-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
|
|
@ -55,9 +60,6 @@ jobs:
|
||||||
path: main
|
path: main
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Update Homebrew
|
|
||||||
run: brew update
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: brew install ldid dpkg make
|
run: brew install ldid dpkg make
|
||||||
|
|
||||||
|
|
@ -68,7 +70,7 @@ jobs:
|
||||||
uses: actions/checkout@v3.2.0
|
uses: actions/checkout@v3.2.0
|
||||||
with:
|
with:
|
||||||
repository: theos/theos
|
repository: theos/theos
|
||||||
ref: 9941262c450c0abac524574cb96b9a4cdf5e50f4
|
ref: master
|
||||||
path: theos
|
path: theos
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
|
@ -76,15 +78,17 @@ jobs:
|
||||||
id: SDK
|
id: SDK
|
||||||
uses: actions/cache@v3.2.0
|
uses: actions/cache@v3.2.0
|
||||||
env:
|
env:
|
||||||
cache-name: iOS-15.5-SDK
|
cache-name: iOS-16.5-SDK
|
||||||
with:
|
with:
|
||||||
path: theos/sdks/
|
path: theos/sdks/
|
||||||
key: ${{ env.cache-name }}
|
key: ${{ env.cache-name }}
|
||||||
|
|
||||||
- name: Download iOS 15.5 SDK
|
- name: Download iOS 16.5 SDK
|
||||||
if: steps.SDK.outputs.cache-hit != 'true'
|
if: steps.SDK.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
svn checkout -q https://github.com/chrisharper22/sdks/trunk/iPhoneOS15.5.sdk
|
git clone -n --depth=1 --filter=tree:0 https://github.com/theos/sdks.git && cd sdks
|
||||||
|
git sparse-checkout set --no-cone iPhoneOS16.5.sdk
|
||||||
|
git checkout
|
||||||
mv *.sdk $THEOS/sdks
|
mv *.sdk $THEOS/sdks
|
||||||
env:
|
env:
|
||||||
THEOS: ${{ github.workspace }}/theos
|
THEOS: ${{ github.workspace }}/theos
|
||||||
|
|
@ -118,7 +122,7 @@ jobs:
|
||||||
cd ${{ github.workspace }}/main
|
cd ${{ github.workspace }}/main
|
||||||
sed -i '' "27s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile
|
sed -i '' "27s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile
|
||||||
sed -i '' "26s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile
|
sed -i '' "26s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile
|
||||||
make package IPA=YouTube.ipa FINALPACKAGE=1
|
make package THEOS_PACKAGE_SCHEME=rootless IPA=YouTube.ipa FINALPACKAGE=1
|
||||||
(mv "packages/$(ls -t packages | head -n1)" "packages/uYouPlus_${{ env.YOUTUBE_VERSION }}_${{ env.UYOU_VERSION }}.ipa")
|
(mv "packages/$(ls -t packages | head -n1)" "packages/uYouPlus_${{ env.YOUTUBE_VERSION }}_${{ env.UYOU_VERSION }}.ipa")
|
||||||
echo "package=$(ls -t packages | head -n1)" >>$GITHUB_OUTPUT
|
echo "package=$(ls -t packages | head -n1)" >>$GITHUB_OUTPUT
|
||||||
echo -e "==> \033[1mSHASUM256: $(shasum -a 256 packages/*.ipa | cut -f1 -d' ')\033[0m"
|
echo -e "==> \033[1mSHASUM256: $(shasum -a 256 packages/*.ipa | cut -f1 -d' ')\033[0m"
|
||||||
|
|
@ -132,6 +136,7 @@ jobs:
|
||||||
APP_NAME: ${{ inputs.app_name }}
|
APP_NAME: ${{ inputs.app_name }}
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
|
if: ${{ inputs.upload_artifact }}
|
||||||
uses: actions/upload-artifact@v3.1.1
|
uses: actions/upload-artifact@v3.1.1
|
||||||
env:
|
env:
|
||||||
UYOU_VERSION: ${{ inputs.uyou_version }}
|
UYOU_VERSION: ${{ inputs.uyou_version }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue