File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,11 +17,17 @@ jobs:
1717
1818 steps :
1919 - uses : actions/checkout@v2
20+ - name : Set up JDK 11
21+ uses : actions/setup-java@v2
22+ with :
23+ java-version : ' 11'
24+ distribution : ' adopt'
25+ cache : maven
2026 - name : Install gpg secret key
2127 run : |
2228 cat <(echo -e "${{ secrets.ARAGO_GPG_KEY }}") | gpg --batch --import
2329 gpg --list-secret-keys --keyid-format LONG
24- - name : Set up JDK 11 and Maven Central Repository
30+ - name : Set up Maven Central Repository
2531 uses : actions/setup-java@v2
2632 with :
2733 java-version : ' 11'
3541 MVN_OPTIONS : " --batch-mode --no-transfer-progress -DuseRepo=global -Dgpg.passphrase=${{ secrets.ARAGO_GPG_KEY_PASSWORD }}"
3642 MAVEN_USERNAME : ${{ secrets.MAVEN_CENTRAL_USER }}
3743 MAVEN_PASSWORD : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
38- GITHUB_TOKEN : ${{ secrets.ARAGO_GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments