Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cdivitotawela committed May 14, 2024
1 parent 371f70e commit 89312cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/central-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,19 @@ runs:
using: "composite"
steps:
- name: Install pre-requisites (Debian)
shell: bash
run: |
sudo apt-get update && sudo apt-get install -y xmlstarlet
- name: Get coordinates
shell: bash
run: |
echo VERSION=$(xmlstarlet sel -N x="http://maven.apache.org/POM/4.0.0" -t -v "/x:project/x:version" pom.xml) >> "$GITHUB_ENV"
echo ARTIFACT_ID=$(xmlstarlet sel -N x="http://maven.apache.org/POM/4.0.0" -t -v "/x:project/x:artifactId" pom.xml) >> "$GITHUB_ENV"
echo GROUP_ID=$(xmlstarlet sel -N x="http://maven.apache.org/POM/4.0.0" -t -v "/x:project/x:groupId" pom.xml) >> "$GITHUB_ENV"
- run: echo "$GROUP_ID:$ARTIFACT_ID:$VERSION"
shell: bash



0 comments on commit 89312cd

Please sign in to comment.