Skip to content

Commit 1880146

Browse files
committed
feat: dev ci
1 parent b9b5fa4 commit 1880146

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: 'Test dev container'
2+
on: # rebuild any PRs and main branch changes
3+
pull_request:
4+
push:
5+
branches:
6+
- develop
7+
8+
jobs:
9+
find-jobs:
10+
name: Find Jobs
11+
runs-on: ubuntu-latest
12+
outputs:
13+
folders: ${{ steps.jobs.outputs.folders }}
14+
steps:
15+
- uses: actions/checkout@v1
16+
17+
- id: jobs
18+
uses: philips-labs/list-folders-action@v1
19+
with:
20+
path: ./templates
21+
22+
matrix:
23+
name: Matrix Jobs
24+
runs-on: ubuntu-latest
25+
needs: [find-jobs]
26+
defaults:
27+
run:
28+
working-directory: ${{ matrix.folder }}
29+
strategy:
30+
matrix:
31+
folder: ${{ fromJson(needs.find-jobs.outputs.folders )}}
32+
steps:
33+
- name: do something
34+
run: echo ${{ matrix.folder }}
35+

0 commit comments

Comments
 (0)