Skip to content

Commit

Permalink
workflow improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
dayanch96 committed Nov 5, 2024
1 parent 7d5005c commit f4c7337
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
jobs:
build:
name: Build YTMusicUltimate
runs-on: macos-12
runs-on: macos-latest
permissions:
contents: write

Expand All @@ -29,7 +29,6 @@ jobs:

- name: Install Dependencies
run: brew install ldid dpkg make coreutils


- name: Set PATH environment variable
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
Expand All @@ -38,10 +37,9 @@ jobs:
uses: actions/[email protected]
with:
repository: theos/theos
ref: 3da31488281ecf4394d10302d2629607f4a1aa07
path: theos
submodules: recursive

- name: SDK Caching
id: SDK
uses: actions/[email protected]
Expand All @@ -65,8 +63,7 @@ jobs:

- name: Prepare YouTube Music iPA
id: prepare_youtube_music
run: |
wget "$YOUTUBE_MUSIC_URL" --no-verbose -O main/YouTubeMusic.ipa
run: wget "$YOUTUBE_MUSIC_URL" --no-verbose -O main/YouTubeMusic.ipa

env:
YOUTUBE_MUSIC_URL: ${{ inputs.decrypted_youtube_music_url }}
Expand All @@ -79,12 +76,16 @@ jobs:
env:
THEOS: ${{ github.workspace }}/theos

- name: Install Cyan
run: |
brew install pipx
pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip
- name: Inject tweak into provided IPA
run: |
cd ${{ github.workspace }}/main/packages
tweakName=$(ls)
cd ${{ github.workspace }}/main
pip3 install --force-reinstall lief git+https://github.com/asdfzxcvbn/pyzule-rw.git#egg=cyan
cyan -i YouTubeMusic.ipa -o packages/YTMusicUltimate.ipa -uwsf packages/$tweakName
- name: Create Release
Expand Down

0 comments on commit f4c7337

Please sign in to comment.