Skip to content

Merge pull request #72 from osociety/vendor-fix #39

Merge pull request #72 from osociety/vendor-fix

Merge pull request #72 from osociety/vendor-fix #39

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/checkout@v4.2.2
- name: Setup Java JDK
uses: actions/setup-java@v4.5.0
with:
distribution: temurin
java-version: "17"
- name: Flutter action
uses: subosito/flutter-action@v2.16.0
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: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
environment: 'pub.dev'