mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +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:
|
inputs:
|
||||||
sdk_version:
|
sdk_version:
|
||||||
description: "iOS SDK Version"
|
description: "iOS SDK Version"
|
||||||
default: "17.5"
|
default: "26.0"
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
uyou_version:
|
uyou_version:
|
||||||
|
|
@ -54,7 +54,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build uYouEnhanced
|
name: Build uYouEnhanced
|
||||||
runs-on: macos-14
|
runs-on: macos-26
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
|
|
@ -141,10 +141,13 @@ jobs:
|
||||||
id: build_package
|
id: build_package
|
||||||
run: |
|
run: |
|
||||||
cd ${{ github.workspace }}/main
|
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 '' "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 '' "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
|
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 "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"
|
||||||
echo -e "==> \033[1mBundle ID: ${{ env.BUNDLE_ID }}\033[0m"
|
echo -e "==> \033[1mBundle ID: ${{ env.BUNDLE_ID }}\033[0m"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue