Skip to content

Commit

Permalink
feat: dev ci
Browse files Browse the repository at this point in the history
  • Loading branch information
npv2k1 committed Feb 2, 2024
1 parent b9b5fa4 commit 1880146
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/test-dev-container.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Test dev container'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- develop

jobs:
find-jobs:
name: Find Jobs
runs-on: ubuntu-latest
outputs:
folders: ${{ steps.jobs.outputs.folders }}
steps:
- uses: actions/checkout@v1

- id: jobs
uses: philips-labs/list-folders-action@v1
with:
path: ./templates

matrix:
name: Matrix Jobs
runs-on: ubuntu-latest
needs: [find-jobs]
defaults:
run:
working-directory: ${{ matrix.folder }}
strategy:
matrix:
folder: ${{ fromJson(needs.find-jobs.outputs.folders )}}
steps:
- name: do something
run: echo ${{ matrix.folder }}

0 comments on commit 1880146

Please sign in to comment.