Skip to content

v2.0.3

v2.0.3 #31

Workflow file for this run

name: Publish plugin
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: temurin
java-version: "17"
- name: Flutter action
uses: subosito/[email protected]
with:
channel: stable
- name: Flutter version
run: flutter --version
- name: Download pub dependencies
run: flutter pub get
- name: Run analyzer
run: flutter analyze --fatal-infos
- name: Run tests
run: flutter test
publish:
needs: 'test'
permissions:
id-token: write # Required for authentication using OIDC
uses: git-elliot/setup-dart/.github/workflows/flutter_publish.yml@main # Added build_runner step
with:
environment: 'pub.dev'
build_runner: false