Skip to content

Update GitHub Action for publishing to pub.dev #176

@ebajrami

Description

@ebajrami

This GitHub Action facilitates automated publishing of packages to pub.dev by leveraging a reusable workflow provided by the Dart team. The workflow, typically configured in a .github/workflows/publish.yml file, authenticates to pub.dev using a temporary GitHub-signed OIDC token. After authentication, it executes dart pub publish --force to publish the package, ensuring proper traceability of how the package was published. Utilizing the dart-lang/setup-dart/.github/workflows/publish.yml reusable workflow is strongly recommended for its maintained stability and integration with pub.dev.

For more details, refer to the official documentation on Configuring Automated Publishing from GitHub Actions on pub.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions