speed improvement

This commit is contained in:
qnblackcat
2022-10-28 19:05:01 +07:00
parent 2d7f2b7d2a
commit f560be0b66
+15 -4
View File
@@ -23,7 +23,7 @@ on:
type: string type: string
create_release: create_release:
description: "Create a draft release" description: "Create a draft release"
default: false default: true
required: false required: false
type: boolean type: boolean
@@ -55,8 +55,18 @@ jobs:
ref: master ref: master
path: theos path: theos
submodules: recursive submodules: recursive
- name: Caching
id: SDK
uses: actions/cache@v3.0.11
env:
cache-name: iOS-15.5-SDK
with:
path: theos/sdks/
key: ${{ env.cache-name }}
- name: Download iOS 15.5 SDK - name: Download iOS 15.5 SDK
if: steps.SDK.outputs.cache-hit != 'true'
run: | run: |
svn checkout -q https://github.com/chrisharper22/sdks/trunk/iPhoneOS15.5.sdk svn checkout -q https://github.com/chrisharper22/sdks/trunk/iPhoneOS15.5.sdk
mv *.sdk $THEOS/sdks mv *.sdk $THEOS/sdks
@@ -95,6 +105,7 @@ jobs:
- name: Fix compiling && Build Package - name: Fix compiling && Build Package
id: build_package id: build_package
run: | run: |
(echo 'THEOS_IGNORE_PARALLEL_BUILDING_NOTICE = yes' >> ~/.theosrc)
cd ${{ github.workspace }}/main cd ${{ github.workspace }}/main
(cd ${{ github.workspace }}/main/Tweaks/YouPiP && sed -i '' "14s/$/ AVFoundation UIKit/" Makefile) (cd ${{ github.workspace }}/main/Tweaks/YouPiP && sed -i '' "14s/$/ AVFoundation UIKit/" Makefile)
(cd ${{ github.workspace }}/main/Tweaks/YTABConfig && sed -i '' "12s#.*#YTABConfig_FRAMEWORKS = UIKit#g" Makefile) (cd ${{ github.workspace }}/main/Tweaks/YTABConfig && sed -i '' "12s#.*#YTABConfig_FRAMEWORKS = UIKit#g" Makefile)
@@ -112,7 +123,7 @@ jobs:
UYOU_VERSION: ${{ inputs.uyou_version }} UYOU_VERSION: ${{ inputs.uyou_version }}
YOUTUBE_VERSION: ${{ inputs.youtube_version }} YOUTUBE_VERSION: ${{ inputs.youtube_version }}
with: with:
name: uYouPlus_${{ env.YOUTUBE_VERSION }}_${{ env.UYOU_VERSION }} name: uYouPlus_${{ env.YOUTUBE_VERSION }}_${{ env.UYOU_VERSION }}
path: ${{ github.workspace }}/main/packages/${{ steps.build_package.outputs.package }} path: ${{ github.workspace }}/main/packages/${{ steps.build_package.outputs.package }}
if-no-files-found: error if-no-files-found: error
@@ -128,4 +139,4 @@ jobs:
tag_name: v${{ env.YOUTUBE_VERSION }}-${{ env.UYOU_VERSION }}-(${{ github.run_number }}) tag_name: v${{ env.YOUTUBE_VERSION }}-${{ env.UYOU_VERSION }}-(${{ github.run_number }})
name: v${{ env.YOUTUBE_VERSION }}-${{ env.UYOU_VERSION }}-(${{ github.run_number }}) name: v${{ env.YOUTUBE_VERSION }}-${{ env.UYOU_VERSION }}-(${{ github.run_number }})
files: ./main/packages/*.ipa files: ./main/packages/*.ipa
draft: ${{ env.DRAFT }} draft: ${{ env.DRAFT }}