Skip to content

Commit 0d1c1f1

Browse files
committed
github action -.-
1 parent 34951a9 commit 0d1c1f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build_dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656
git config user.name "github-actions[bot]"
5757
git config user.email "github-actions[bot]@users.noreply.github.com"
5858
git add src/PluginRegistry/PluginHashGenerator.Generated.cs
59-
$hasChanges = git diff --staged --quiet; $LASTEXITCODE -ne 0
60-
if ($hasChanges) {
59+
git diff --staged --quiet
60+
if ($LASTEXITCODE -ne 0) {
6161
git commit -m "chore: update plugin hashes [skip ci]"
6262
git push
6363
} else {

0 commit comments

Comments
 (0)