ci: automate bump PR creation, slack notification #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Maven Publish | |
| on: | |
| pull_request: | |
| branches: ['**'] # Also on PRs to any branch | |
| jobs: | |
| test-publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Assemble Resources | |
| run: ./download-libs.sh | |
| - name: Set up JDK 11 and Maven settings + GPG | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '11' | |
| server-id: central | |
| server-username: ${{ secrets.MAVEN_USERNAME }} | |
| server-password: ${{ secrets.MAVEN_PASSWORD }} | |
| gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} | |
| gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
| - name: Test Full Deploy (No Publishing) | |
| run: mvn -B clean deploy -Pdeploy -Drevision=1.0.0-test -DskipPublishing=true -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} |