diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index 3ae3914..95b1c04 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -5,28 +5,28 @@ 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: 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 }}