File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed
Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v4
13+ - uses : actions/checkout@v3
1414
1515 - name : Import GPG key
1616 run : |
@@ -22,25 +22,14 @@ jobs:
2222 with :
2323 java-version : ' 8'
2424 distribution : ' temurin'
25-
26- - name : Build with Maven
27- run : mvn -B package --file auto-generated-sdk/pom.xml
28-
29- - name : Publish to Github Packages Apache Maven
30- run : cd auto-generated-sdk && mvn -Psign-artifacts verify deploy
31- env :
32- GITHUB_TOKEN : ${{ github.token }}
33-
34- - name : Set up Apache Maven Central
35- uses : actions/setup-java@v4
36- with : # running setup-java again overwrites the settings.xml
37- distribution : ' temurin'
38- java-version : ' 11'
3925 server-id : central # Value of the distributionManagement/repository/id field of the pom.xml
4026 server-username : MAVEN_USERNAME # env variable for username in deploy
4127 server-password : MAVEN_CENTRAL_TOKEN # env variable for token in deploy
4228 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
4329 gpg-passphrase : MAVEN_GPG_PASSPHRASE
30+
31+ - name : Build with Maven
32+ run : mvn -B package --file auto-generated-sdk/pom.xml
4433
4534 - name : Publish to Apache Maven Central
4635 run : mvn deploy
You can’t perform that action at this time.
0 commit comments