Skip to content

Commit

Permalink
CI: improve iteration over multiple changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
guusdk committed Aug 29, 2024
1 parent 20cf09e commit 66e48f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/xep-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ jobs:
- name: Validate changed file(s)
if: steps.changed-xeps.outputs.any_changed == 'true'
env:
ALL_CHANGED_FILES: ${{ steps.changed-xeps.outputs.all_changed_files }}
run: |
sudo apt-get install -y libxml2-utils
result=0
for xep in "${{ steps.changed-xeps.outputs.all_changed_files }}"; do
for xep in ${ALL_CHANGED_FILES}; do
if ! tools/validate-xep0001-conformance.sh "$xep"; then
result=1
fi
Expand Down

0 comments on commit 66e48f0

Please sign in to comment.