From d29be6aca714e5dc30c85cd0e0dacecee0ed115b Mon Sep 17 00:00:00 2001 From: MistEO Date: Mon, 8 May 2023 19:42:42 +0800 Subject: [PATCH] revert: "fix: res-update-game.yml" This reverts commit 9db6626ef2d79778c396ff4dd208bf7bcf6d3af0. --- .github/workflows/res-update-game.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/res-update-game.yml b/.github/workflows/res-update-game.yml index 6d9ffd5778..249a2d4fa4 100644 --- a/.github/workflows/res-update-game.yml +++ b/.github/workflows/res-update-game.yml @@ -35,6 +35,7 @@ jobs: git config user.name "$env:GITHUB_ACTOR" git config user.email "$env:GITHUB_ACTOR@users.noreply.github.com" + git add . $commit_msg = "${{ github.event.inputs.commit_message }}" if (-not [string]::IsNullOrWhiteSpace($commit_msg)) { @@ -42,7 +43,7 @@ jobs: } else { $commit_msg = "chore: Auto Update Game Resources - $(Get-Date -Format 'yyyy-MM-dd')" } - git commit -am "$commit_msg" + git commit -m "$commit_msg" if ($LASTEXITCODE) { exit $LASTEXITCODE } git pull origin $(git rev-parse --abbrev-ref HEAD) --unshallow --rebase