-
-
Notifications
You must be signed in to change notification settings - Fork 860
48 lines (43 loc) · 1.13 KB
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Branch Push & PR CI/CD
on:
push:
branches:
- '!master'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
score:
name: "Score Package"
uses: ./.github/workflows/score.yml
analyse-test:
name: "Analyse & Test"
uses: ./.github/workflows/analyse-test.yml
build-io:
name: "Build IO Example Apps"
needs: analyse-test
uses: ./.github/workflows/build-io.yml
build-web:
name: "Build Web Example App"
runs-on: ubuntu-latest
needs: analyse-test
defaults:
run:
working-directory: ./example
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Flutter Environment
uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Build Web Application
run: flutter build web --web-renderer canvaskit
- name: Archive Artifact
uses: actions/[email protected]
with:
name: web-build
path: example/build/web
if-no-files-found: error