We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 866e2e9 commit ff40b82Copy full SHA for ff40b82
1 file changed
.github/workflows/ci-cd-java.yml
@@ -1,6 +1,17 @@
1
name: ci-cd-java.yml
2
on:
3
workflow_call:
4
+ inputs:
5
+ uploadJarArtifact:
6
+ required: false
7
+ type: boolean
8
+ default: false
9
+ jarArtifactName:
10
11
+ type: string
12
+ jarArtifactPath:
13
14
15
16
env:
17
IMAGE_NAME_MIXED_CASE: "${{ github.repository }}"
@@ -37,6 +48,13 @@ jobs:
37
48
38
49
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39
50
51
+ - name: Upload .jar artifact
52
+ if: ${{ inputs.uploadJarArtifact }}
53
+ uses: actions/upload-artifact@v4
54
+ with:
55
+ name: ${{ inputs.jarArtifactName }}
56
+ path: ${{ inputs.jarArtifactPath }}
57
+
40
58
- name: Lowercase Docker Image Name
41
59
run: |
42
60
echo "IMAGE_NAME=${IMAGE_NAME_MIXED_CASE,,}" >> "${GITHUB_ENV}"
0 commit comments