We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4973037 commit e6ea661Copy full SHA for e6ea661
1 file changed
.github/workflows/buildPullRequest.yml
@@ -14,14 +14,13 @@ jobs:
14
with:
15
repository: devonfw-tutorials/tutorials
16
path: playbooks
17
+ - id: changedfiles
18
+ uses: jitterbit/get-change-files@v1
19
- name: Setup matrix combinations
20
id: setup-matrix-combinations
21
run: |
- cd playbooks
- DIFF_FILES="$(git diff --name-only origin/main | xargs)"
22
- IFS=$'\n'
23
- for i in $DIFF_FILES; do
24
- dir="$(echo $i | cut -d/ -f1)"
+ for changed_file in ${{ steps.changedfiles.outputs.all }}; do
+ dir="$(echo $changed_file | cut -d/ -f1)"
25
MATRIX_PARAMS_COMBINATIONS=$MATRIX_PARAMS_COMBINATIONS'{"tutorial": "'$dir'"},'
26
done
27
echo ::set-output name=matrix-combinations::{\"include\":[$MATRIX_PARAMS_COMBINATIONS]}
0 commit comments