diff --git a/.github/actions/central-publish/actions.yml b/.github/actions/central-publish/actions.yml deleted file mode 100644 index 3a77c0f..0000000 --- a/.github/actions/central-publish/actions.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: 'Publish to Central' -description: 'Publish Maven artifact to Central' - -runs: - using: "composite" - steps: - - name: Install pre-requisites (Debian) - run: | - sudo apt-get update && sudo apt-get install -y xmlstarlet - - - name: Get coordinates - 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" - - - \ No newline at end of file