Skip to content

ci: split out publishing workflow #1

ci: split out publishing workflow

ci: split out publishing workflow #1

Workflow file for this run

# OIDC published for pub.dev
# Reference: https://dart.dev/tools/pub/automated-publishing
name: Publish to pub.dev
on:
push:
tags:
# must align with the tag-pattern configured on pub.dev, often just replace
# {{version}} with [0-9]+.[0-9]+.[0-9]+
- "[0-9]+.[0-9]+.[0-9]+" # tag-pattern on pub.dev: '{{version}}'
# Publish using the reusable workflow from dart-lang.
jobs:
publish:
permissions:
id-token: write # Required for authentication using OIDC
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1