fix: make patches apply

This commit is contained in:
Oskar Manhart
2025-02-02 12:01:36 +01:00
parent 5831696ead
commit 290226aec7
5 changed files with 11 additions and 44 deletions

View File

@@ -13,7 +13,13 @@ jobs:
- name: Update module
run: |
git submodule update --init --recursive --checkout -f
pushd WinApps-Launcher
branch=$(git rev-parse --abbrev-ref origin/HEAD | sed "s|origin/||")
git config remote.origin.fetch "+refs/heads/$branch:refs/remotes/origin/$branch"
git fetch --depth=1 origin "refs/heads/$branch"
popd
git submodule update --init --remote WinApps-Launcher
- name: Commit and push
uses: EndBug/add-and-commit@v9