mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
Added Update Submodules Template
I’m doing this because some of y’all are confused with the adding, updating, removing Submodules on the Wiki. This commit was done to resolve some confusion regarding that matter.
This commit is contained in:
parent
cc83b8fc0c
commit
23b72e33b8
1 changed files with 19 additions and 3 deletions
|
|
@ -20,13 +20,15 @@ jobs:
|
|||
|
||||
- name: Add uYouEnhanced submodules
|
||||
run: |
|
||||
// git submodule add https://github.com/PoomSmart/FLEXing.git Tweaks/FLEXing
|
||||
# git submodule add https://github.com/PoomSmart/FLEXing.git Tweaks/FLEXing
|
||||
git submodule add https://github.com/dayanch96/uYouLocalization.git Tweaks/uYouLocalization
|
||||
git submodule add https://github.com/arichorn/YTHoldForSpeed.git Tweaks/YTHoldForSpeed
|
||||
git add .
|
||||
git commit -m "added uYouEnhanced submodules"
|
||||
git push origin
|
||||
|
||||
# ⬇️ this is for updating the submodules all at once. it's not recommended for use due to errors.
|
||||
|
||||
# - name: Update submodules
|
||||
# run: |
|
||||
# git submodule update --init --recursive --remote
|
||||
|
|
@ -35,6 +37,8 @@ jobs:
|
|||
# git push origin
|
||||
# continue-on-error: true
|
||||
|
||||
# ⬇️ this is the current method of updating the submodules for uYouEnhanced
|
||||
|
||||
- name: Update submodules
|
||||
run: |
|
||||
git submodule update --init --recursive --remote Tweaks/Alderis
|
||||
|
|
@ -43,8 +47,6 @@ jobs:
|
|||
git add .
|
||||
git submodule update --init --recursive --remote Tweaks/YTHoldForSpeed
|
||||
git add .
|
||||
git submodule update --init --recursive --remote Tweaks/MrBeastify
|
||||
git add .
|
||||
git submodule update --init --recursive --remote Tweaks/PSHeader
|
||||
git add .
|
||||
git submodule update --init --recursive --remote Tweaks/Return-YouTube-Dislikes
|
||||
|
|
@ -71,6 +73,8 @@ jobs:
|
|||
git push origin
|
||||
continue-on-error: true
|
||||
|
||||
# ⬇️ this is required for adding custom submodule(s) that include a .bundle file. it is recommended for use.
|
||||
|
||||
- name: Make .bundle files
|
||||
run: |
|
||||
cd Bundles
|
||||
|
|
@ -81,6 +85,18 @@ jobs:
|
|||
git commit -m "Added bundles"
|
||||
git push origin
|
||||
|
||||
# ⬇️ this is only necessary if you want to delete .bundle files if you planned on removing submodule(s) or your custom submodule(s).
|
||||
|
||||
# - name: Delete .bundle files
|
||||
# run: |
|
||||
# cd Bundles
|
||||
# rm -f MrBeastify.bundle
|
||||
# rm -f uYouLocalization.bundle
|
||||
# rm -f YTHoldForSpeed.bundle
|
||||
# git add .
|
||||
# git commit -m "Deleted bundles"
|
||||
# git push origin
|
||||
|
||||
- name: Check exit code
|
||||
run: |
|
||||
exit_code=$?
|
||||
Loading…
Reference in a new issue