mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
fix: 修复资源更新CI被强制取消的问题
This commit is contained in:
4
.github/workflows/res-update-game.yml
vendored
4
.github/workflows/res-update-game.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user