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:
|
||||
- name: Checkout Main
|
||||
uses: actions/checkout@v3.5.3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: main
|
||||
submodules: recursive
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
run: brew install ldid dpkg make
|
||||
|
||||
- name: Setup Theos
|
||||
uses: actions/checkout@v3.5.3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
repository: theos/theos
|
||||
ref: 3da31488281ecf4394d10302d2629607f4a1aa07
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
|
||||
- name: Caching
|
||||
id: SDK
|
||||
uses: actions/cache@v3.3.1
|
||||
uses: actions/cache@v4.0.1
|
||||
env:
|
||||
cache-name: iOS-16.2-SDK
|
||||
with:
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
THEOS: ${{ github.workspace }}/theos
|
||||
|
||||
- name: Setup Theos Jailed
|
||||
uses: actions/checkout@v3.5.3
|
||||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
repository: qnblackcat/theos-jailed
|
||||
ref: master
|
||||
@@ -118,7 +118,8 @@ jobs:
|
||||
- name: Fix Compiling & Build Package
|
||||
id: build_package
|
||||
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
|
||||
sed -i '' "12s#.*#BUNDLE_ID = ${{ env.BUNDLE_ID }}#g" Makefile
|
||||
sed -i '' "11s#.*#DISPLAY_NAME = ${{ env.APP_NAME }}#g" Makefile
|
||||
@@ -136,7 +137,7 @@ jobs:
|
||||
APP_NAME: ${{ inputs.app_name }}
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3.1.2
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
env:
|
||||
ytliteplus_version: ${{ inputs.ytliteplus_version }}
|
||||
YOUTUBE_VERSION: ${{ inputs.youtube_version }}
|
||||
@@ -153,7 +154,7 @@ jobs:
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: softprops/action-gh-release@v0.1.15
|
||||
uses: softprops/action-gh-release@v2.0.4
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
ytliteplus_version: ${{ inputs.ytliteplus_version }}
|
||||
@@ -173,4 +174,4 @@ jobs:
|
||||
--header 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"event_type": "update-altstore-source-trigger"
|
||||
}'
|
||||
}'
|
Reference in New Issue
Block a user