Skip to content

Update publish workflow to include Flutter dependencies and force pub… #2

Update publish workflow to include Flutter dependencies and force pub…

Update publish workflow to include Flutter dependencies and force pub… #2

Workflow file for this run

name: Publish to pub.dev
on:
push:
branches:
- 'main'
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: flutter pub get
# Here you can insert custom steps you need
# - run: dart tool/generate-code.dart
- name: Publish
run: dart pub publish --force