Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build MkDocs
on:
workflow_dispatch:
workflow_run:
workflows: ["Publish new plugin version"]
types:
- completed
push:
branches:
- release
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Publish new plugin version
on:
workflow_run:
workflows: ["Perform static code analysis through Dart CLI"]
types:
- completed
workflow_dispatch:
push:
branches:
Expand Down Expand Up @@ -35,4 +39,4 @@ jobs:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}

- name: Publish
run: dart pub publish --force
run: dart pub publish --dry-run
3 changes: 1 addition & 2 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
- uses: subosito/flutter-action@v2
with:
flutter-version: "2.10.0"
Expand All @@ -31,4 +30,4 @@ jobs:
run: flutter pub get

- name: Run static dart analysis with fatal infos
run: dart analyze --fatal-infos
run: flutter analyze --fatal-infos