chore: Update create-theme workflow to capture error logs

This commit is contained in:
Mauro Balades 2024-08-15 20:42:45 +02:00
parent 936af41f9f
commit a0188a824b

View file

@ -50,14 +50,14 @@ jobs:
- name: Create theme content
run: |
export CREATION_OUTPUT=$(\
python3 scripts/create-theme.py \
python3 scripts/submit-theme.py \
--name "${THEME_NAME}" \
--description "${THEME_DESCRIPTION}" \
--homepage "${THEME_HOMEPAGE}" \
--styles "${THEME_STYLES}" \
--readme "${THEME_README}" \
--author "${THEME_AUTHOR}")
--author "${THEME_AUTHOR}" 2> error.log
export CREATION_OUTPUT=$(cat error.log)
- name: Show error message
if: failure()