mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
Update SDK version and macOS runner in workflow
This commit is contained in:
parent
e2f2834c6d
commit
e1e50be57e
1 changed files with 6 additions and 3 deletions
9
.github/workflows/buildapp.yml
vendored
9
.github/workflows/buildapp.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
|||
inputs:
|
||||
sdk_version:
|
||||
description: "iOS SDK Version"
|
||||
default: "17.5"
|
||||
default: "26.0"
|
||||
required: true
|
||||
type: string
|
||||
uyou_version:
|
||||
|
|
@ -54,7 +54,7 @@ concurrency:
|
|||
jobs:
|
||||
build:
|
||||
name: Build uYouEnhanced
|
||||
runs-on: macos-14
|
||||
runs-on: macos-26
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
|
|
@ -141,10 +141,13 @@ jobs:
|
|||
id: build_package
|
||||
run: |
|
||||
cd ${{ github.workspace }}/main
|
||||
export THEOS_SDK_NAME=iPhoneOS${{ inputs.sdk_version }}.sdk
|
||||
export SDKVERSION=${{ inputs.sdk_version }}
|
||||
export SYSROOT=$THEOS/sdks/$THEOS_SDK_NAME
|
||||
sed -i '' "30s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile # Modify the bundle ID
|
||||
sed -i '' "29s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile # Modify the app name
|
||||
sed -i '' "1s#.*#export TARGET = iphone:clang:${{ inputs.sdk_version }}:14.0#g" Makefile # Modify the SDK version
|
||||
make package THEOS_PACKAGE_SCHEME=rootless IPA=Payload/YouTube.app FINALPACKAGE=1
|
||||
make package THEOS_PACKAGE_SCHEME=rootless IPA=Payload/YouTube.app FINALPACKAGE=1 SDKVERSION=${{ inputs.sdk_version }}
|
||||
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[1mBundle ID: ${{ env.BUNDLE_ID }}\033[0m"
|
||||
|
|
|
|||
Loading…
Reference in a new issue