Skip to content

Commit 13bba54

Browse files
committed
Use shared pipeline to build and publish
1 parent bd45979 commit 13bba54

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
pull_request:
25+
26+
jobs:
27+
build-and-pubish:
28+
name: Build and publish JAR packages to Maven repository
29+
uses: IABTechLab/uid2-shared-actions/.github/workflows/[email protected]
30+
with:
31+
release_type: ${{ inputs.release_type }}
32+
publish_to_maven: ${{ inputs.publish_to_maven }}
33+
java_version: ${{ inputs.java_version }}
34+
publish_vulnerabilities: ${{ inputs.publish_vulnerabilities }}
35+
secrets: inherit

0 commit comments

Comments
 (0)