mirror of
https://github.com/Paillat-dev/discord-emojis.git
synced 2026-01-02 00:56:19 +00:00
Improve error handling in update script to ensure proper exit code management
This commit is contained in:
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -60,8 +60,10 @@ jobs:
|
||||
- name: Run Update Script
|
||||
id: run_script
|
||||
run: |
|
||||
set +e
|
||||
uv run src
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
echo "Changes detected"
|
||||
echo "changes_detected=true" >> $GITHUB_ENV
|
||||
|
||||
Reference in New Issue
Block a user