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