9
0
mirror of https://github.com/BX-Team/DivineMC.git synced 2025-12-28 03:09:11 +00:00

Update automatic-update.yml

This commit is contained in:
DGun Otto
2023-12-17 00:46:27 +08:00
committed by GitHub
parent 95a64f2b7b
commit 8d30817c86

View File

@@ -34,7 +34,13 @@ jobs:
sed -i "s/\(purpurRef\s*=\s*\).*/\1$PAPER_REF/" gradle.properties
env:
PAPER_REF: ${{ steps.purpurRef.outputs.purpurRef }}
- name: Check for changes
run: |
cd DivineMC
if git diff --quiet; then
echo "No changes to commit."
exit 0
fi
- name: Write to repository
run: |
cd DivineMC