Skip to content

Commit

Permalink
Upped actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Oct 29, 2023
1 parent 1776674 commit c507495
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@ jobs:
with:
java-version: 21
distribution: 'temurin'
- name: Create settings.xml
uses: s4u/maven-settings-action@v2
with:
servers: '[{"id": "ossrh", "username": "mihxil", "password": "${{secrets.OSSRH_PASSWORD}}"}]'
- uses: crazy-max/ghaction-import-gpg@v3
with:
cache: 'maven'
server-id: ossrh
server-username: SONATYPE_USERNAME
server-password: SONATYPE_PASSWORD
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
passphrase: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}
gpg-passphrase: GPG_SECRET_KEY_PASSPHRASE
- name: Build with Maven
run: mvn -B deploy
- uses: codecov/codecov-action@v2
- name: Publish Test Report
uses: scacap/action-surefire-report@v1
if: always() && ${{ github.event_name == 'push' }}
env:
SONATYPE_USERNAME: mihxil
SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_SECRET_KEY_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}
- uses: codecov/[email protected]
- name: Publish Unit Test Results
uses: EnricoMi/[email protected]

0 comments on commit c507495

Please sign in to comment.