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.
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.