Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmathis committed Sep 18, 2024
1 parent 79cd088 commit b818e63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check-enums.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ jobs:
black emmet-core/emmet/core/*/calc_types/enums.py
echo "count=$(git diff-index HEAD emmet-core/emmet/core/*/calc_types/enums.py | wc -l | xargs)" >> $GITHUB_OUTPUT
echo "files=$(git ls-files --exclude-standard --others emmet-core/emmet/core/*/calc_types/enums.py | wc -l | xargs)" >> $GITHUB_OUTPUT
echo "$count"
echo "$files"
- name: Commit & push enums changes
shell: bash -l {0}
if: ${{ toNumber(steps.enums.outputs.count) > 0 || toNumber(steps.enums.outputs.files) > 0 }}
if: ${{ steps.enums.outputs.count > 0 || steps.enums.outputs.files > 0 }}
run: |
set -e
git config user.name github-actions
Expand Down

0 comments on commit b818e63

Please sign in to comment.