Update actions with pana test #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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] | |
# We disable the push for now, because it's not working with flutter (it asks for a connection) | |
# 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 |