-
-
Notifications
You must be signed in to change notification settings - Fork 36
38 lines (31 loc) · 893 Bytes
/
base.yaml
File metadata and controls
38 lines (31 loc) · 893 Bytes
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
name: Base
on:
push:
branches: [main]
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+\+[0-9]+'
pull_request:
branches: [main]
workflow_dispatch:
# This ensures that previous jobs for the PR are canceled when PR is updated
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
permissions:
contents: read
uses: flutter-form-builder-ecosystem/.github/.github/workflows/minimal-quality.yaml@main
example:
permissions:
contents: read
uses: flutter-form-builder-ecosystem/.github/.github/workflows/build-examples.yaml@main
deployment:
permissions:
id-token: write
contents: write
pages: write
uses: flutter-form-builder-ecosystem/.github/.github/workflows/deployment.yaml@main
if: ${{ github.ref_type == 'tag' }}
needs: [build, example]