From f36b3dc480f70525adb69a544fa40be9cd1a1bd9 Mon Sep 17 00:00:00 2001 From: teaSummer Date: Tue, 25 Jun 2024 13:58:44 +0800 Subject: [PATCH] chore: earlier pull --- .github/workflows/launcher.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/launcher.yml b/.github/workflows/launcher.yml index 161c227..967bd0e 100644 --- a/.github/workflows/launcher.yml +++ b/.github/workflows/launcher.yml @@ -45,6 +45,7 @@ jobs: - name: Handle files id: handle run: | + git pull --rebase API=`echo ${{ matrix.url }} | sed 's/:\/\/github\.com\//:\/\/api.github.com\/repos\//g' | sed 's/$/\/releases/g'` wget -O latest.json $API/latest || echo '{"tag_name":""}' > latest.json wget -O releases.json $API @@ -140,7 +141,6 @@ jobs: [Auto] Update Launcher Version: '"$CHANGELOG (Time: `date +'%F %X %Z'`)" - git pull --rebase - name: Push changes if: ${{ steps.commit.outcome == 'success' }} id: push