-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9a3b1b
commit 1254698
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Build and Publish JAR Packages | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
release_type: | ||
type: choice | ||
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' | ||
default: false | ||
required: false | ||
type: boolean | ||
java_version: | ||
type: string | ||
default: '11' | ||
publish_vulnerabilities: | ||
type: string | ||
default: 'true' | ||
pull_request: | ||
|
||
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@kcc-UID2-2327-update-maven-repos-to-use-new-pipelines | ||
with: | ||
release_type: ${{ inputs.release_type }} | ||
publish_to_maven: ${{ inputs.publish_to_maven }} | ||
java_version: ${{ inputs.java_version }} | ||
publish_vulnerabilities: ${{ inputs.publish_vulnerabilities }} | ||
pom_path: attestation-aws/pom.xml | ||
secrets: inherit |