Skip to content

Commit 4f10a93

Browse files
committed
Added examples CI workflow
1 parent 0358abb commit 4f10a93

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

‎.github/workflows/examples.yaml‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: examples
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
- 'release/**'
9+
paths:
10+
- 'examples/**/*.dart'
11+
- 'examples/**/*.yaml'
12+
- .github/workflows/examples.yaml
13+
release:
14+
types: [published]
15+
16+
# Matrix for example names
17+
matrix:
18+
example: [ base ]
19+
20+
jobs:
21+
dart:
22+
name: "${{ matrix.example }}"
23+
uses: ./.github/workflows/_base-dart.yaml
24+
with:
25+
path: "${{ github.workspace }}/examples/${{ matrix.example }}"

‎.github/workflows/package.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Package"
1+
name: "package"
22

33
on:
44
pull_request:

0 commit comments

Comments
 (0)