mirror of
https://github.com/andreacomo/maven-gav-extractor.git
synced 2025-06-06 11:17:55 +08:00
Update documentation
This commit is contained in:
parent
115a2c0d66
commit
0ceddd3ac8
@ -7,6 +7,7 @@ This *GitHub Action* extracts GAV from `pom.xml`, i.e.:
|
|||||||
* `groupId`
|
* `groupId`
|
||||||
* `artifactId`
|
* `artifactId`
|
||||||
* `version`
|
* `version`
|
||||||
|
* `name`
|
||||||
|
|
||||||
Why should I need this? For example, to **name** and **tag** a Docker image built upon your artifact or **pass as parameters** to a dispatched workflow.
|
Why should I need this? For example, to **name** and **tag** a Docker image built upon your artifact or **pass as parameters** to a dispatched workflow.
|
||||||
|
|
||||||
@ -27,6 +28,7 @@ This action expects you to have `maven` available in your workflow environment
|
|||||||
| `group-id` | Group Id of your project |
|
| `group-id` | Group Id of your project |
|
||||||
| `artifact-id` | Artifact Id of your project |
|
| `artifact-id` | Artifact Id of your project |
|
||||||
| `version` | Version of your project |
|
| `version` | Version of your project |
|
||||||
|
| `name` | Name of your project |
|
||||||
|
|
||||||
## Example usage
|
## Example usage
|
||||||
|
|
||||||
@ -53,5 +55,6 @@ jobs:
|
|||||||
echo ${{ steps.extract.outputs.group-id }}
|
echo ${{ steps.extract.outputs.group-id }}
|
||||||
echo ${{ steps.extract.outputs.artifact-id }}
|
echo ${{ steps.extract.outputs.artifact-id }}
|
||||||
echo ${{ steps.extract.outputs.version }}
|
echo ${{ steps.extract.outputs.version }}
|
||||||
|
echo ${{ steps.extract.outputs.name }}
|
||||||
shell: bash
|
shell: bash
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user