actions-gw/Cargo github version
Gets version from github tag push or from cargo.toml
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jun 25, 2024
- License
- GPL 3.0
Pinned Snippet
uses: actions-gw/cargo-github-version@47515c8463e47202680cfea953eeff4deb1db62a # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| suffix | Default suffix to add to the version if tag not found | — | -nightly |
| prefix | Default prefix to add to the version if tag not found | — | pre-rel-v |
Outputs
| name | description |
|---|---|
| version | Pure version string |
| version-ext | Version string and suffix |
| version-full | Version string with prefix and suffix |
| version-prefix | Version prefix |
| version-suffix | Version suffix |