From 82af28c929c9c8b2ae2ea5eb3c4e0c9619e36e8f Mon Sep 17 00:00:00 2001 From: MistEO Date: Sat, 20 May 2023 13:09:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E6=9B=B4=E6=96=B0CI=E8=A2=AB=E5=BC=BA=E5=88=B6=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/res-update-game.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/res-update-game.yml b/.github/workflows/res-update-game.yml index f75ad1a9c9..386fd136db 100644 --- a/.github/workflows/res-update-game.yml +++ b/.github/workflows/res-update-game.yml @@ -48,13 +48,13 @@ jobs: } git commit -m "$commit_msg" if ($LASTEXITCODE) { - echo "no_commits=1" >> $env:GITHUB_OUTPUT + echo "no_commits=True" >> $env:GITHUB_OUTPUT } git pull origin $(git rev-parse --abbrev-ref HEAD) --unshallow --rebase - name: Cancelling - if: ${{ steps.add_files.outputs.no_commits }} == 1 + if: steps.add_files.outputs.no_commits == 'True' uses: andymckay/cancel-action@0.3 - name: Push changes # push the output folder to your repo