mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-22 02:38:45 -04:00
Updated make and gh actions (thank's @Macleykun)
This commit is contained in:
17
.github/workflows/buildapp.yml
vendored
17
.github/workflows/buildapp.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Main
|
- name: Checkout Main
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
path: main
|
path: main
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
run: brew install ldid dpkg make
|
run: brew install ldid dpkg make
|
||||||
|
|
||||||
- name: Setup Theos
|
- name: Setup Theos
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: theos/theos
|
repository: theos/theos
|
||||||
ref: 3da31488281ecf4394d10302d2629607f4a1aa07
|
ref: 3da31488281ecf4394d10302d2629607f4a1aa07
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Caching
|
- name: Caching
|
||||||
id: SDK
|
id: SDK
|
||||||
uses: actions/cache@v3.3.1
|
uses: actions/cache@v4.0.1
|
||||||
env:
|
env:
|
||||||
cache-name: iOS-16.2-SDK
|
cache-name: iOS-16.2-SDK
|
||||||
with:
|
with:
|
||||||
@@ -87,7 +87,7 @@ jobs:
|
|||||||
THEOS: ${{ github.workspace }}/theos
|
THEOS: ${{ github.workspace }}/theos
|
||||||
|
|
||||||
- name: Setup Theos Jailed
|
- name: Setup Theos Jailed
|
||||||
uses: actions/checkout@v3.5.3
|
uses: actions/checkout@v4.1.1
|
||||||
with:
|
with:
|
||||||
repository: qnblackcat/theos-jailed
|
repository: qnblackcat/theos-jailed
|
||||||
ref: master
|
ref: master
|
||||||
@@ -118,7 +118,8 @@ jobs:
|
|||||||
- name: Fix Compiling & Build Package
|
- name: Fix Compiling & Build Package
|
||||||
id: build_package
|
id: build_package
|
||||||
run: |
|
run: |
|
||||||
(echo PATH=\"$(brew --prefix make)/libexec/gnubin:\$PATH\" >> ~/.zprofile)
|
(echo export PATH="/usr/local/opt/make/libexec/gnubin:$PATH" >> ~/.bash_profile)
|
||||||
|
source ~/.bash_profile
|
||||||
cd ${{ github.workspace }}/main
|
cd ${{ github.workspace }}/main
|
||||||
sed -i '' "12s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile
|
sed -i '' "12s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile
|
||||||
sed -i '' "11s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile
|
sed -i '' "11s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile
|
||||||
@@ -136,7 +137,7 @@ jobs:
|
|||||||
APP_NAME: ${{ inputs.app_name }}
|
APP_NAME: ${{ inputs.app_name }}
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v4.3.1
|
||||||
env:
|
env:
|
||||||
ytliteplus_version: ${{ inputs.ytliteplus_version }}
|
ytliteplus_version: ${{ inputs.ytliteplus_version }}
|
||||||
YOUTUBE_VERSION: ${{ inputs.youtube_version }}
|
YOUTUBE_VERSION: ${{ inputs.youtube_version }}
|
||||||
@@ -153,7 +154,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
uses: softprops/action-gh-release@v2.0.4
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
ytliteplus_version: ${{ inputs.ytliteplus_version }}
|
ytliteplus_version: ${{ inputs.ytliteplus_version }}
|
||||||
@@ -173,4 +174,4 @@ jobs:
|
|||||||
--header 'Content-Type: application/json' \
|
--header 'Content-Type: application/json' \
|
||||||
--data-raw '{
|
--data-raw '{
|
||||||
"event_type": "update-altstore-source-trigger"
|
"event_type": "update-altstore-source-trigger"
|
||||||
}'
|
}'
|
Reference in New Issue
Block a user