From ad7aff80b0511f40ca102fe36b1f03656ef8205b Mon Sep 17 00:00:00 2001 From: Leonid Pospelov Date: Mon, 15 Apr 2024 14:31:19 +0500 Subject: [PATCH] fix workflow --- .github/workflows/push-skymp5-patches.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push-skymp5-patches.yml b/.github/workflows/push-skymp5-patches.yml index 43f9a376bd..c09d0e3458 100644 --- a/.github/workflows/push-skymp5-patches.yml +++ b/.github/workflows/push-skymp5-patches.yml @@ -21,13 +21,20 @@ jobs: path: /home/runner/work/skymp5-patches ref: main - name: Checkout skyrim-multiplayer/skymp - uses: actions/checkout@v3 + # https://github.com/actions/checkout/issues/197#issuecomment-971545044 + uses: Pospelove/checkout@main + with: + repository: skyrim-multiplayer/skymp5 + # submodules: recursive + fetch-depth: 0 + path: /home/runner/work/skymp + ref: main - name: Set skymp5-patches main branch to skymp main branch run: | cd /home/runner/work/skymp5-patches git checkout main - git remote add skymp ../skymp || true + git remote add skymp /home/runner/work/skymp || true git fetch skymp main git reset --hard skymp/main git push origin main