actions-marketplace-validations/Dart and Flutter Package Publisher

Continuously Test & Publish Dart and Flutter Package To Pub.dev When Version Changed

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Apr 15, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/k-paxian_dart-package-publisher@8fdba1dbf624c712706281a6f91cb50b6bfc2eaf # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
accessToken(Required) Token from ~/.pub-cache/credentials.json. Use secrets.OAUTH_ACCESS_TOKENyes
refreshToken(Required) Token from ~/.pub-cache/credentials.json. Use secrets.OAUTH_REFRESH_TOKENyes
credentialJson(Optional) Overrides accessToken and refreshToken. Whole content of ~/.pub-cache/credentials.json. Use secrets.CREDENTIAL_JSONno
relativePath(Optional) Path to your package root in your repositoryno""
dryRunOnly(Optional) Perform dry run only, no real publishingnofalse
testRunOnly(Optional) Perform unit tests run only, no real publishingnofalse
skipTests(Optional) Skip unit tests runnofalse
suppressBuildRunner(Optional) Suppress using `build_runner` for unit tests runnofalse
format(Optional) Format code of project to get better score in pub.devnofalse
force(Optional) Force publishing even if pub tool throws warnings, hints, etcnofalse
flutter(Optional) Flutter package typenofalse
flutterBranch(Optional) Flutter branch to use, stable, master, main, dev, etc.nostable
namedescription
successResult, "true" if actual publishing happened, "false" otherwise
packagePackage name from pubspec
localVersionPackage local version from pubspec
remoteVersionPackage remote version from pub.dev
dartVersionDart SDK version which is being used to run tests & publish
flutterVersionFlutter SDK version which is being used to run tests & publish