Skip to content

Commit f4c7337

Browse files
committed
workflow improvements
1 parent 7d5005c commit f4c7337

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/main.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
jobs:
1717
build:
1818
name: Build YTMusicUltimate
19-
runs-on: macos-12
19+
runs-on: macos-latest
2020
permissions:
2121
contents: write
2222

@@ -29,7 +29,6 @@ jobs:
2929

3030
- name: Install Dependencies
3131
run: brew install ldid dpkg make coreutils
32-
3332

3433
- name: Set PATH environment variable
3534
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
@@ -38,10 +37,9 @@ jobs:
3837
uses: actions/[email protected]
3938
with:
4039
repository: theos/theos
41-
ref: 3da31488281ecf4394d10302d2629607f4a1aa07
4240
path: theos
4341
submodules: recursive
44-
42+
4543
- name: SDK Caching
4644
id: SDK
4745
uses: actions/[email protected]
@@ -65,8 +63,7 @@ jobs:
6563

6664
- name: Prepare YouTube Music iPA
6765
id: prepare_youtube_music
68-
run: |
69-
wget "$YOUTUBE_MUSIC_URL" --no-verbose -O main/YouTubeMusic.ipa
66+
run: wget "$YOUTUBE_MUSIC_URL" --no-verbose -O main/YouTubeMusic.ipa
7067

7168
env:
7269
YOUTUBE_MUSIC_URL: ${{ inputs.decrypted_youtube_music_url }}
@@ -79,12 +76,16 @@ jobs:
7976
env:
8077
THEOS: ${{ github.workspace }}/theos
8178

79+
- name: Install Cyan
80+
run: |
81+
brew install pipx
82+
pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip
83+
8284
- name: Inject tweak into provided IPA
8385
run: |
8486
cd ${{ github.workspace }}/main/packages
8587
tweakName=$(ls)
8688
cd ${{ github.workspace }}/main
87-
pip3 install --force-reinstall lief git+https://github.com/asdfzxcvbn/pyzule-rw.git#egg=cyan
8889
cyan -i YouTubeMusic.ipa -o packages/YTMusicUltimate.ipa -uwsf packages/$tweakName
8990
9091
- name: Create Release

0 commit comments

Comments
 (0)