diff --git a/README.md b/README.md index 999ad1e..d2a80cf 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,11 @@ jobs: java-version: 11 - name: Extract GAV id: extract - uses: andreacomo/maven-gav-extractor-github-action@v1 + uses: andreacomo/maven-gav-extractor@v1 - name: Log GAV run: | echo ${{ steps.extract.outputs.group-id }} echo ${{ steps.extract.outputs.artifact-id }} echo ${{ steps.extract.outputs.version }} shell: bash -``` \ No newline at end of file +``` diff --git a/action.yml b/action.yml index e104673..98070e0 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,5 @@ name: 'Maven GAV Extractor' -description: 'Extract Maven grouoId, artifactId and version from pom.xml' +description: 'Extracts Maven groupId, artifactId and version from pom.xml' branding: icon: 'bar-chart-2' color: 'orange' @@ -27,4 +27,4 @@ runs: echo "::set-output name=group-id::$(mvn -f ${{ inputs.pom-location }} org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.groupId -q -DforceStdout)" echo "::set-output name=artifact-id::$(mvn -f ${{ inputs.pom-location }} org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.artifactId -q -DforceStdout)" echo "::set-output name=version::$(mvn -f ${{ inputs.pom-location }} org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout)" - shell: bash \ No newline at end of file + shell: bash