Skip to content

Commit

Permalink
Readme improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
andreacomo committed Oct 30, 2022
1 parent 0112b77 commit 6085fd7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ This *GitHub Action* extracts GAV from `pom.xml`, i.e.:

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.

## Versioning
This project follows *Semantic Versioning* according to [GitHub Actions versioning practice](https://github.com/actions/toolkit/blob/main/docs/action-versioning.md)

>Current stable version is `v2`
## Prerequirements

This action expects you to have `maven` available in your workflow environment
Expand Down Expand Up @@ -42,14 +47,15 @@ jobs:
runs-on: ubuntu-latest
name: Should extract GAV
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 11
distribution: temurin
- name: Extract GAV
id: extract
uses: andreacomo/maven-gav-extractor@v1
uses: andreacomo/maven-gav-extractor@v2
- name: Log GAV
run: |
echo ${{ steps.extract.outputs.group-id }}
Expand Down

0 comments on commit 6085fd7

Please sign in to comment.