qnblackcat’s buildapp.yml to uYouEnhanced

This commit is contained in:
arichornlover 2024-01-24 16:42:00 -06:00 committed by GitHub
parent dc323f3c7e
commit a5209f06e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,7 +70,7 @@ jobs:
uses: actions/checkout@v4.1.1
with:
repository: theos/theos
ref: 9941262c450c0abac524574cb96b9a4cdf5e50f4
ref: master
path: theos
submodules: recursive
@ -124,7 +124,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/uYouEnhanced_${{ 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"
@ -138,6 +138,7 @@ jobs:
APP_NAME: ${{ inputs.app_name }}
- name: Upload Artifact
if: ${{ inputs.upload_artifact }}
uses: actions/upload-artifact@v3.1.3
env:
UYOU_VERSION: ${{ inputs.uyou_version }}