actions-gw/Cargo github version

Gets version from github tag push or from cargo.toml

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jun 25, 2024
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-gw/cargo-github-version@47515c8463e47202680cfea953eeff4deb1db62a # v1

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

namedescriptionrequireddefault
suffixDefault suffix to add to the version if tag not found-nightly
prefixDefault prefix to add to the version if tag not foundpre-rel-v
namedescription
versionPure version string
version-extVersion string and suffix
version-fullVersion string with prefix and suffix
version-prefixVersion prefix
version-suffixVersion suffix