Skip to content

Update publish.yml

Update publish.yml #2

Workflow file for this run

name: Publish to pub.dev
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Publish to pub.dev
run: flutter pub publish --force