mirror of
https://github.com/Paillat-dev/discord-emojis.git
synced 2026-01-02 00:56:19 +00:00
Fix exit code handling in update script to ensure accurate detection of no changes
This commit is contained in:
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@@ -70,8 +70,7 @@ jobs:
|
||||
echo "No changes detected"
|
||||
echo "changes_detected=false" >> $GITHUB_ENV
|
||||
# Transform it to 0 to avoid failing the workflow
|
||||
echo "EXIT_CODE=0" >> $GITHUB_ENV
|
||||
echo "exit_code=$EXIT_CODE" >> $GITHUB_ENV
|
||||
echo "exit_code=0" >> $GITHUB_ENV
|
||||
exit 0
|
||||
else
|
||||
echo "Script failed with exit code $EXIT_CODE"
|
||||
|
||||
Reference in New Issue
Block a user