chore: add general and publish ci
This commit is contained in:
parent
b1f060fe9a
commit
281e670867
|
|
@ -0,0 +1,25 @@
|
||||||
|
name: General CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
merge_group:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
dart:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
uses: famedly/frontend-ci-templates/.github/workflows/dart.yml@main
|
||||||
|
with:
|
||||||
|
env_file: ".github/workflows/versions.env"
|
||||||
|
|
||||||
|
general:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
uses: famedly/frontend-ci-templates/.github/workflows/general.yml@main
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
name: Publish CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- v[0-9]+.[0-9]+.[0-9]+
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
uses: famedly/frontend-ci-templates/.github/workflows/publish-pub.yml@main
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
flutter_version=3.13.6
|
||||||
|
dart_version=3.1.3
|
||||||
Loading…
Reference in New Issue