From 89312cd21c4285c0044224f83d4c161e461e36ae Mon Sep 17 00:00:00 2001 From: Chaminda Divitotawela Date: Tue, 14 May 2024 13:42:50 +1000 Subject: [PATCH] test --- .github/actions/central-publish/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/actions/central-publish/action.yml b/.github/actions/central-publish/action.yml index 3a77c0f..ab06155 100644 --- a/.github/actions/central-publish/action.yml +++ b/.github/actions/central-publish/action.yml @@ -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 \ No newline at end of file