mirror of
https://github.com/YTLitePlus/YTLitePlus.git
synced 2026-03-11 17:15:34 +00:00
Update YTLite from “5.0.1” to “5.2b3”
This is a test. I am gonna attempt to update it to a newer version of YTLite.
This commit is contained in:
parent
94e6cfc81b
commit
88d5999c2a
1 changed files with 10 additions and 10 deletions
20
.github/workflows/buildapp.yml
vendored
20
.github/workflows/buildapp.yml
vendored
|
|
@ -60,7 +60,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout Main
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
path: main
|
||||
ref: ${{ github.event.inputs.commit_id || github.ref }}
|
||||
|
|
@ -70,7 +70,7 @@ jobs:
|
|||
run: brew install ldid dpkg make
|
||||
|
||||
- name: Download Theos
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
repository: theos/theos
|
||||
ref: master
|
||||
|
|
@ -91,7 +91,7 @@ jobs:
|
|||
if: steps.SDK.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
# Only download the specific SDK version
|
||||
git clone -n --depth=1 --filter=tree:0 https://github.com/aricloverALT/sdks/
|
||||
git clone -n --depth=1 --filter=tree:0 https://github.com/aricloverEXTRA/sdks/
|
||||
cd sdks
|
||||
git sparse-checkout set --no-cone iPhoneOS${{ inputs.sdk_version }}.sdk
|
||||
git checkout
|
||||
|
|
@ -100,7 +100,7 @@ jobs:
|
|||
THEOS: ${{ github.workspace }}/theos
|
||||
|
||||
- name: Download Theos Jailed
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
repository: qnblackcat/theos-jailed
|
||||
ref: master
|
||||
|
|
@ -170,13 +170,13 @@ jobs:
|
|||
# Replace lines in Makefile based on inputs
|
||||
sed -i '' "s/^BUNDLE_ID.*$/BUNDLE_ID = ${{ env.BUNDLE_ID }}/" Makefile
|
||||
sed -i '' "s/^DISPLAY_NAME.*$/DISPLAY_NAME = ${{ env.APP_NAME }}/" Makefile
|
||||
sed -i '' "s/^PACKAGE_VERSION.*$/PACKAGE_VERSION = ${{ env.YT_VERSION }}-5.0.1/" Makefile
|
||||
sed -i '' "s/^export TARGET.*$/export TARGET = iphone:clang:${{ inputs.sdk_version }}:14.0/" Makefile
|
||||
sed -i '' "s/^PACKAGE_VERSION.*$/PACKAGE_VERSION = ${{ env.YT_VERSION }}-5.2b3/" Makefile
|
||||
sed -i '' "s/^export TARGET.*$/export TARGET = iphone:clang:${{ inputs.sdk_version }}:15.0/" Makefile
|
||||
sed -i '' "s/^export SDK_PATH.*$/export SDK_PATH = \$(THEOS)\/sdks\/iPhoneOS${{ inputs.sdk_version }}.sdk\//" Makefile
|
||||
# Build the package
|
||||
make package THEOS_PACKAGE_SCHEME=rootless FINALPACKAGE=1
|
||||
# Rename the package based on the version
|
||||
(mv "packages/$(ls -t packages | head -n1)" "packages/YTLitePlus_${{ env.YT_VERSION }}_5.0.1.ipa")
|
||||
(mv "packages/$(ls -t packages | head -n1)" "packages/YTLitePlus_${{ env.YT_VERSION }}_5.2b3.ipa")
|
||||
# Pass package name to the upload step
|
||||
echo "package=$(ls -t packages | head -n1)" >> $GITHUB_OUTPUT
|
||||
# Print out the hash and bundle ID
|
||||
|
|
@ -210,7 +210,7 @@ jobs:
|
|||
if: ${{ inputs.create_release }}
|
||||
run: |
|
||||
export TODAY=$(date '+%Y-%m-%d')
|
||||
sed "s/%ytliteplus_version%/${{ env.YTLITE_VERSION }}/g; s/%youtube_version%/5.0.1/g; s/%catbox_url%/${{ env.CATBOX_FILE }}/g; s/%date%/$TODAY/g" \
|
||||
sed "s/%ytliteplus_version%/${{ env.YTLITE_VERSION }}/g; s/%youtube_version%/5.2b3/g; s/%catbox_url%/${{ env.CATBOX_FILE }}/g; s/%date%/$TODAY/g" \
|
||||
main/.github/RELEASE_TEMPLATE/Release.md > ${{ github.workspace }}/release_notes.md
|
||||
|
||||
- name: Create Draft Release
|
||||
|
|
@ -220,8 +220,8 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: v${{ env.YT_VERSION }}-5.0.1
|
||||
name: v${{ env.YT_VERSION }}-5.0.1 - YTLitePlus
|
||||
tag_name: v${{ env.YT_VERSION }}-5.2b3
|
||||
name: v${{ env.YT_VERSION }}-5.2b3 - YTLitePlus
|
||||
files: main/packages/*.ipa
|
||||
draft: true
|
||||
body_path: ${{ github.workspace }}/release_notes.md
|
||||
|
|
|
|||
Loading…
Reference in a new issue