|
32 | 32 | outputs:
|
33 | 33 | extra_on_push: ${{ steps.filter_some.outputs.extra_on_push }}
|
34 | 34 | extra_on_pull_request: ${{ steps.filter_some.outputs.extra_on_pull_request }}
|
| 35 | + stackhpc: ${{ toJson(fromJson(steps.filter_some.outputs.stackhpc) || fromJson(steps.filter_every.outputs.stackhpc)) }} |
35 | 36 | stackhpc_some: ${{ steps.filter_some.outputs.stackhpc }}
|
36 | 37 | stackhpc_every: ${{ steps.filter_every.outputs.stackhpc }}
|
37 | 38 | trivvyscan: ${{ steps.filter_some.outputs.trivvyscan }}
|
@@ -88,14 +89,26 @@ jobs:
|
88 | 89 | - '!.gitignore'
|
89 | 90 | - '!.github/workflows/'
|
90 | 91 |
|
91 |
| - - name: Paths Filter Result |
| 92 | + - name: Paths matching |
92 | 93 | run: >
|
93 | 94 | echo '{ "extra_on_push_files": ${{ steps.filter_some.outputs.extra_on_push_files }} }' | jq -r '.';
|
94 | 95 | echo '{ "extra_on_pull_request_files": ${{ steps.filter_some.outputs.extra_on_pull_request_files }} }' | jq -r '.';
|
95 |
| - echo '{ "stackhpc_some_files": ${{ steps.filter_some.outputs.stackhpc_some_files }} }' | jq -r '.'; |
96 |
| - echo '{ "stackhpc_every_files": ${{ steps.filter_every.outputs.stackhpc_every_files }} }' | jq -r '.'; |
| 96 | + echo '{ "stackhpc_some_files": ${{ steps.filter_some.outputs.stackhpc_files }} }' | jq -r '.'; |
| 97 | + echo '{ "stackhpc_every_files": ${{ steps.filter_every.outputs.stackhpc_files }} }' | jq -r '.'; |
97 | 98 | echo '{ "trivvyscan_files": ${{ steps.filter_some.outputs.trivvyscan_files }} }' | jq -r '.'
|
98 | 99 |
|
| 100 | + debug: |
| 101 | + name: Debug paths matching |
| 102 | + needs: files_changed |
| 103 | + run: > |
| 104 | + echo 'extra_on_push: ${{ needs.files_changed.outputs.extra_on_push }}'; |
| 105 | + echo 'extra_on_pull_request: ${{ needs.files_changed.outputs.extra_on_pull_request }}'; |
| 106 | + echo 'stackhpc: ${{ needs.files_changed.outputs.stackhpc }}'; |
| 107 | + echo 'stackhpc_some: ${{ needs.files_changed.outputs.stackhpc_some }}'; |
| 108 | + echo 'stackhpc_every: ${{ needs.files_changed.outputs.stackhpc_every }}'; |
| 109 | + echo 'trivvyscan: ${{ needs.files_changed.outputs.trivvyscan }}' |
| 110 | + runs-on: ubuntu-latest # TEST |
| 111 | + |
99 | 112 | extra:
|
100 | 113 | name: Test extra build
|
101 | 114 | needs: files_changed
|
|
0 commit comments