speed improvement

This commit is contained in:
qnblackcat
2022-10-28 19:05:01 +07:00
parent 2d7f2b7d2a
commit f560be0b66
+12 -1
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
@@ -56,7 +56,17 @@ jobs:
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)