mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-19 09:52:05 +00:00
Update compatibility (buildapp.yml)
Fixed issues related to Display ID, Display Name, SDK Version and updated all Dependencies to ensure uYouEnhanced builds correctly in the future.
This commit is contained in:
parent
6ca05512fb
commit
bc815a733a
1 changed files with 5 additions and 4 deletions
9
.github/workflows/buildapp.yml
vendored
9
.github/workflows/buildapp.yml
vendored
|
|
@ -82,7 +82,7 @@ jobs:
|
|||
|
||||
- name: SDK Caching
|
||||
id: SDK
|
||||
uses: actions/cache@v4.1.2
|
||||
uses: actions/cache@v4.2.0
|
||||
env:
|
||||
cache-name: iOS-${{ inputs.sdk_version }}-SDK
|
||||
with:
|
||||
|
|
@ -141,9 +141,10 @@ jobs:
|
|||
id: build_package
|
||||
run: |
|
||||
cd ${{ github.workspace }}/main
|
||||
sed -i '' "27s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile # Modify the bundle ID
|
||||
sed -i '' "26s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile # Modify the app 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
|
||||
sed -i '' "2s#.*#export SDK_PATH = $(THEOS)/sdks/iPhoneOS${{ inputs.sdk_version }}.sdk/#g" Makefile
|
||||
make package THEOS_PACKAGE_SCHEME=rootless IPA=Payload/YouTube.app FINALPACKAGE=1
|
||||
echo "package=$(ls -t packages | head -n1)" >>$GITHUB_OUTPUT
|
||||
echo -e "==> \033[1mSHASUM256: $(shasum -a 256 packages/*.ipa | cut -f1 -d' ')\033[0m"
|
||||
|
|
@ -169,7 +170,7 @@ jobs:
|
|||
- name: Create Release
|
||||
if: ${{ inputs.create_release }}
|
||||
id: create_release
|
||||
uses: softprops/action-gh-release@v2.1.0
|
||||
uses: softprops/action-gh-release@v2.2.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
UYOU_VERSION: ${{ inputs.uyou_version }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue