Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
MOldtime committed Dec 9, 2024
1 parent 6aaf1ce commit a366469
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ jobs:
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
ALL_CHANGED_FILES_COUNT: ${{ steps.changed-files.outputs.all_changed_files_count }}
VALUE: ${{ matrix.value }}
MATRIX: ${{ matrix.patch }}
run: |
MATCH_FOUND=false
for file in ${ALL_CHANGED_FILES}; do
if [[ "$file" == "patches/*$VALUE.diff" || "$file" != patches/* ]]; then
echo "Matrix value '$value' matches changed file '$file'."
echo "Matrix value '$MATRIX' matches changed file '$file'."
if [[ $file == patches/$MATRIX.patch || $file != patches/* ]]; then
echo "matches changed file '$file'."
MATCH_FOUND=true
break
fi
Expand Down

0 comments on commit a366469

Please sign in to comment.