mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +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
|
||||
required: false
|
||||
type: boolean
|
||||
|
||||
upload_artifact:
|
||||
description: "Upload Artifact"
|
||||
default: true
|
||||
required: false
|
||||
type: boolean
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
|
@ -44,7 +49,7 @@ concurrency:
|
|||
jobs:
|
||||
build:
|
||||
name: Build uYouPlus
|
||||
runs-on: macos-11
|
||||
runs-on: macos-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
|
|
@ -55,9 +60,6 @@ jobs:
|
|||
path: main
|
||||
submodules: recursive
|
||||
|
||||
- name: Update Homebrew
|
||||
run: brew update
|
||||
|
||||
- name: Install Dependencies
|
||||
run: brew install ldid dpkg make
|
||||
|
||||
|
|
@ -68,7 +70,7 @@ jobs:
|
|||
uses: actions/checkout@v3.2.0
|
||||
with:
|
||||
repository: theos/theos
|
||||
ref: 9941262c450c0abac524574cb96b9a4cdf5e50f4
|
||||
ref: master
|
||||
path: theos
|
||||
submodules: recursive
|
||||
|
||||
|
|
@ -76,15 +78,17 @@ jobs:
|
|||
id: SDK
|
||||
uses: actions/cache@v3.2.0
|
||||
env:
|
||||
cache-name: iOS-15.5-SDK
|
||||
cache-name: iOS-16.5-SDK
|
||||
with:
|
||||
path: theos/sdks/
|
||||
key: ${{ env.cache-name }}
|
||||
|
||||
- name: Download iOS 15.5 SDK
|
||||
- name: Download iOS 16.5 SDK
|
||||
if: steps.SDK.outputs.cache-hit != 'true'
|
||||
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
|
||||
env:
|
||||
THEOS: ${{ github.workspace }}/theos
|
||||
|
|
@ -118,7 +122,7 @@ jobs:
|
|||
cd ${{ github.workspace }}/main
|
||||
sed -i '' "27s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#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")
|
||||
echo "package=$(ls -t packages | head -n1)" >>$GITHUB_OUTPUT
|
||||
echo -e "==> \033[1mSHASUM256: $(shasum -a 256 packages/*.ipa | cut -f1 -d' ')\033[0m"
|
||||
|
|
@ -132,6 +136,7 @@ jobs:
|
|||
APP_NAME: ${{ inputs.app_name }}
|
||||
|
||||
- name: Upload Artifact
|
||||
if: ${{ inputs.upload_artifact }}
|
||||
uses: actions/upload-artifact@v3.1.1
|
||||
env:
|
||||
UYOU_VERSION: ${{ inputs.uyou_version }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue