Skip to content

Commit 704f241

Browse files
committed
Bedrock updater: simplify commit logic
1 parent 3718aab commit 704f241

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/bedrock_updater.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,5 @@ jobs:
6161
run: |
6262
echo "$currentDownloadURLs" | jq --indent 4 '.' > minecraft-bedrockdownloadurl.json
6363
git add minecraft-bedrockdownloadurl.json
64-
if git diff-index --quiet HEAD --; then
65-
echo "No changes to commit"
66-
else
67-
git commit -m "Update Bedrock download URLs"
68-
git push
69-
fi
64+
git commit -m "Update Bedrock download URLs"
65+
git push

0 commit comments

Comments
 (0)