Skip to content

ci(release): resolve issues with pub dev publishing #3

ci(release): resolve issues with pub dev publishing

ci(release): resolve issues with pub dev publishing #3

Workflow file for this run

name: Publish to pub.dev
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+" # tag pattern on pub.dev: '{{version}}'
# Publish using custom workflow
jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: flutter doctor -v
- run: flutter pub get
- run: flutter pub publish --force