We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50fed29 commit c384aedCopy full SHA for c384aed
2 files changed
.github/actions/maven-publish/action.yml
@@ -13,6 +13,8 @@ inputs:
13
required: true
14
is-android:
15
16
+ version:
17
+ required: true
18
19
runs:
20
using: composite
@@ -33,7 +35,7 @@ runs:
33
35
34
36
- name: Build Project
37
shell: bash
- run: ./gradlew clean assemble -PisSnapshot=false
38
+ run: ./gradlew clean assemble -PisSnapshot=false -Pversion="${{ inputs.version }}"
39
40
- name: Publish Java
41
.github/workflows/java-release.yml
@@ -71,6 +71,7 @@ jobs:
71
with:
72
java-version: ${{ inputs.java-version }}
73
is-android: ${{ inputs.is-android }}
74
+ version: ${{ steps.get_version.outputs.version }}
75
ossr-username: ${{ secrets.ossr-username }}
76
ossr-password: ${{ secrets.ossr-password }}
77
signing-key: ${{ secrets.signing-key }}
0 commit comments