From c7fda9fa8704e0728e76436f4d853b9f94285b78 Mon Sep 17 00:00:00 2001 From: Katherine Chen Date: Wed, 6 Mar 2024 13:06:11 +1100 Subject: [PATCH 1/2] Rename workflow to shared-publish-to-maven-versioned --- .github/workflows/build-and-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index 3ae3914..0cf6ae9 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -26,7 +26,7 @@ on: jobs: build-and-pubish: name: Build and publish JAR packages to Maven repository - uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-java-publish-versioned-package.yaml@v2 + uses: IABTechLab/uid2-shared-actions/.github/workflows/ shared-publish-to-maven-versioned@v2 with: release_type: ${{ inputs.release_type }} publish_to_maven: ${{ inputs.publish_to_maven }} From 30d53d183a6c5704b8f907c44646fdbc60fb483c Mon Sep 17 00:00:00 2001 From: Katherine Chen Date: Wed, 6 Mar 2024 13:06:37 +1100 Subject: [PATCH 2/2] Remove single quotes --- .github/workflows/build-and-publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index 0cf6ae9..95b1c04 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -5,23 +5,23 @@ on: inputs: release_type: type: choice - description: 'The type of release' + description: The type of release options: - Major - Minor - Patch - Snapshot publish_to_maven: - description: 'True to publish the artifacts to Maven repository, false to skip the step' + description: True to publish the artifacts to Maven repository, false to skip the step default: false required: false type: boolean java_version: type: string - default: '11' + default: 11 publish_vulnerabilities: type: string - default: 'true' + default: true jobs: build-and-pubish: