Downgrade Theos ⚠️

Theos had an update which breaks the building
this is why I downgraded it: https://github.com/arichorn/uYouPlusExtra/actions/runs/5651520528
This commit is contained in:
arichorn 2023-08-19 15:26:35 -05:00 committed by GitHub
parent 98085815f7
commit 470e95e605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,14 @@
# Original idea by @ISnackable. Thanks to him for handling the hardest parts!
# https://github.com/ISnackable/CercubePlus/blob/main/.github/workflows/Build.yml
name: Build and Release uYouPlus
name: Build and Release uYouPlusExtra
on:
workflow_dispatch:
inputs:
uyou_version:
description: "The version of uYou"
default: "3.0"
default: "3.0.1"
required: true
type: string
decrypted_youtube_url:
@ -50,7 +50,7 @@ jobs:
steps:
- name: Checkout Main
uses: actions/checkout@v3.2.0
uses: actions/checkout@v3.5.3
with:
path: main
submodules: recursive
@ -62,16 +62,16 @@ jobs:
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
- name: Setup Theos
uses: actions/checkout@v3.2.0
uses: actions/checkout@v3.5.3
with:
repository: theos/theos
ref: master
ref: 3da31488281ecf4394d10302d2629607f4a1aa07
path: theos
submodules: recursive
- name: Caching
id: SDK
uses: actions/cache@v3.2.0
uses: actions/cache@v3.3.1
env:
cache-name: iOS-15.5-SDK
with:
@ -87,7 +87,7 @@ jobs:
THEOS: ${{ github.workspace }}/theos
- name: Setup Theos Jailed
uses: actions/checkout@v3.2.0
uses: actions/checkout@v3.5.3
with:
repository: qnblackcat/theos-jailed
ref: master
@ -116,7 +116,7 @@ jobs:
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
(mv "packages/$(ls -t packages | head -n1)" "packages/uYouPlus_${{ env.YOUTUBE_VERSION }}_${{ env.UYOU_VERSION }}.ipa")
(mv "packages/$(ls -t packages | head -n1)" "packages/uYouPlusExtra_${{ 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"
echo -e "==> \033[1mBundle ID: ${{ env.BUNDLE_ID }}\033[0m"
@ -129,12 +129,12 @@ jobs:
APP_NAME: ${{ inputs.app_name }}
- name: Upload Artifact
uses: actions/upload-artifact@v3.1.1
uses: actions/upload-artifact@v3.1.2
env:
UYOU_VERSION: ${{ inputs.uyou_version }}
YOUTUBE_VERSION: ${{ inputs.youtube_version }}
with:
name: uYouPlus_${{ env.YOUTUBE_VERSION }}_${{ env.UYOU_VERSION }}
name: uYouPlusExtra_${{ env.YOUTUBE_VERSION }}_${{ env.UYOU_VERSION }}
path: ${{ github.workspace }}/main/packages/${{ steps.build_package.outputs.package }}
if-no-files-found: error