Skip to content

Add GitHub actions for automatic publishing changes to pub.dev #2

Add GitHub actions for automatic publishing changes to pub.dev

Add GitHub actions for automatic publishing changes to pub.dev #2

Workflow file for this run

name: Publish flutter_local_authentication on pub.dev
on:
pull_request:
branches: [ main ]
types: [opened, synchronize, reopened, labeled, unlabeled]
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*' # tag pattern on pub.dev: 'v'
jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
if: github.repository_owner == 'eaceto'
with:
environment: pub.dev