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:
8
.github/workflows/automatic-update.yml
vendored
8
.github/workflows/automatic-update.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user