Skip to content

Commit 15bb4d8

Browse files
author
Alvaro Muñoz
committed
Add new test for flow through matrix
1 parent b199fdc commit 15bb4d8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Matrix Flow
2+
3+
on:
4+
pull_request_target:
5+
6+
jobs:
7+
lookup:
8+
runs-on: ubuntu-latest
9+
outputs:
10+
matrix: ${{ steps.filelist.outputs.file_names }}
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Get all zip files
14+
id: filelist
15+
uses: the-coding-turtle/[email protected]
16+
with:
17+
directory: "."
18+
file_extension: "zip"
19+
20+
multi_tenant:
21+
needs: lookup
22+
runs-on: ubuntu-latest
23+
strategy:
24+
matrix:
25+
tenant: ${{fromJson(needs.lookup.outputs.matrix)}}
26+
steps:
27+
- name: Show all files
28+
run: |
29+
echo "this is file: ${{ matrix.TENANT }}"

0 commit comments

Comments
 (0)