diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 8d2be29..40abc43 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -9,13 +9,29 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4.2.2 + uses: actions/checkout@v5 - name: Set up Git run: | git config --global user.email "actions@github.com" git config --global user.name "GitHub Actions" + - name: Add uYouEnhanced submodules + run: | + git submodule add https://github.com/opa334/libundirect.git Tweaks/libundirect + git submodule add https://github.com/fosterbarnes/YTweaks.git Tweaks/YTweaks + git add . + git commit -m "added uYouEnhanced submodules" + git push origin + + - name: Make .bundle files + run: | + cd Bundles + ln -s ../Tweaks/YTweaks/layout/Library/Application\ Support/YTweaks.bundle YTweaks.bundle + git add . + git commit -m "Added bundles" + git push origin + - name: Update submodules run: | git submodule update --init --recursive --remote Tweaks/Alderis @@ -62,6 +78,8 @@ jobs: git add . git submodule update --init --recursive --remote Tweaks/YTVideoOverlay git add . + git submodule update --init --recursive --remote Tweaks/YTweaks + git add . git submodule update --init --recursive git commit -m "updated submodules" git push