Skip to content

Commit ef73a26

Browse files
authored
check files in repo
1 parent 3473df0 commit ef73a26

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,26 @@ jobs:
2424
with:
2525
name: build
2626
path: dist
27+
list-files:
28+
runs-on: ubuntu-latest
29+
outputs:
30+
paths: ${{ steps.list-files.outputs.paths }}
31+
steps:
32+
- name: List Files
33+
id: list-files
34+
uses: mirko-felice/[email protected]
35+
with:
36+
repo: ${{ github.repository }}
37+
ref: ${{ github.ref }}
38+
path: "."
39+
ext: ".yml"
40+
Test:
41+
needs: list-files
42+
strategy:
43+
matrix:
44+
paths: ${{ fromJson(needs.list-files.outputs.paths) }}
45+
runs-on: ubuntu-latest
46+
steps:
47+
- name: Output results
48+
run: |
49+
echo ${{ matrix.paths }}

0 commit comments

Comments
 (0)