Skip to content

Commit 769b27f

Browse files
authored
Merge pull request #49 from IABTechLab/kcc-UID2-2327-update-maven-repos-to-use-new-pipelines
Use shared pipeline to build and publish
2 parents e47cdd8 + 8d4746c commit 769b27f

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build and Publish JAR Packages
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
release_type:
6+
type: choice
7+
description: 'The type of release'
8+
options:
9+
- Major
10+
- Minor
11+
- Patch
12+
- Snapshot
13+
publish_to_maven:
14+
description: 'True to publish the artifacts to Maven repository, false to skip the step'
15+
default: false
16+
required: false
17+
type: boolean
18+
java_version:
19+
type: string
20+
default: '11'
21+
publish_vulnerabilities:
22+
type: string
23+
default: 'true'
24+
25+
jobs:
26+
build-and-pubish:
27+
name: Build and publish JAR packages to Maven repository
28+
uses: IABTechLab/uid2-shared-actions/.github/workflows/[email protected]
29+
with:
30+
release_type: ${{ inputs.release_type }}
31+
publish_to_maven: ${{ inputs.publish_to_maven }}
32+
java_version: ${{ inputs.java_version }}
33+
publish_vulnerabilities: ${{ inputs.publish_vulnerabilities }}
34+
secrets: inherit

0 commit comments

Comments
 (0)