File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 21
21
VOICE_CALLBACK_URL : ${{ secrets.VOICE_CALLBACK_URL }}
22
22
runs-on : ubuntu-latest
23
23
steps :
24
- - uses : actions/checkout@v2
25
- - name : Set up JDK 11
26
- uses : actions/setup-java@v2
27
- with :
28
- distribution : ' adopt'
29
- java-version : ' 11'
30
-
31
- - name : Set Maven project version
32
- run : |
33
- echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
34
- mvn versions:set -DnewVersion=$RELEASE_VERSION
35
-
36
- - name : Build with Maven
37
- run : mvn -B package --file pom.xml
38
-
39
24
- uses : actions/checkout@v2
40
25
- name : Set up Apache Maven Central
41
26
uses : actions/setup-java@v2
48
33
gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
49
34
gpg-passphrase : MAVEN_GPG_PASSPHRASE
50
35
36
+ - name : Set Maven project version
37
+ run : |
38
+ echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
39
+ mvn versions:set -DnewVersion=$RELEASE_VERSION
40
+
51
41
- name : Publish to Apache Maven Central
52
42
run : mvn deploy
53
43
env :
You can’t perform that action at this time.
0 commit comments