Skip to content

Commit 86215ab

Browse files
committed
Output the path filter result of the workflow
1 parent db6fca4 commit 86215ab

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
should_skip: ${{ steps.skip_check.outputs.should_skip }}
3535
paths_result: ${{ steps.skip_check.outputs.paths_result }}
3636
steps:
37-
- id: skip_check
37+
- name: Build paths result
38+
id: skip_check
3839
# For security we use the commit of fkirc/skip-duplicate-actions@v5
3940
uses: fkirc/skip-duplicate-actions@f75f66ce1886f00957d99748a42c724f4330bdcf
4041
with:
@@ -68,6 +69,10 @@ jobs:
6869
trivvyscan:
6970
paths:
7071
- 'environments/.stackhpc/tofu/cluster_image.auto.tfvars.json'
72+
- name: Echo paths result
73+
run: >
74+
echo '${{ steps.skip_check.outputs.paths_result }}'
75+
| jq -r '.'
7176
7277
extra:
7378
name: Test extra build

0 commit comments

Comments
 (0)