Skip to content

Merge pull request #20 from borlnov/9-add-mono-repo-to-the-packages #14

Merge pull request #20 from borlnov/9-add-mono-repo-to-the-packages

Merge pull request #20 from borlnov/9-add-mono-repo-to-the-packages #14

Workflow file for this run

# SPDX-FileCopyrightText: 2025 Benoit Rolandeau <[email protected]>
# SPDX-License-Identifier: MIT
# .github/workflows/publish.yml
name: Publish to pub.dev
on:
pull_request:
branches: [ main ]
types: [opened, synchronize, reopened, labeled, unlabeled]
push:
tags:
- '[A-z]+-v[0-9]+.[0-9]+.[0-9]+*'
# Publish using the reusable workflow from dart-lang.
jobs:
publish:
if: ${{ github.repository_owner == 'borlnov' }}
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
permissions:
id-token: write # Required for authentication using OIDC
pull-requests: write # Required for writing the pull request note
with:
# Protected github deployment environment, requires approval to publish.
environment: pub.dev
use-flutter: true