actions-marketplace-validations/ga-project-version
Gets from the package manager file (package.json, composer.json, ...) the version of the project and exposes it.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| package-manager | The package manager that you are using (npm, composer, ...) | no | npm |
| root-directory | The directory containing you project file (package.json, composer.json, ...) | no | ./ |
| path | A direct path to your json project file (package.json, composer.json, ...) | no | — |
| version-prop | The name of the property containing the version | no | — |
Outputs
| name | description |
|---|---|
| version | The version of you project |