Checking proper Sonatype Central Publisher url #41
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: Branch CI | |
| on: | |
| push: | |
| paths-ignore: | |
| - '.github/workflows/**' | |
| - '*.md' | |
| - '*.txt' | |
| branches-ignore: | |
| - 'release*' | |
| jobs: | |
| build: | |
| name: Branch CI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/cache@v3 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-maven- | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 17 | |
| distribution: zulu | |
| server-id: github | |
| server-username: GITHUB_ACTOR | |
| server-password: GITHUB_TOKEN | |
| - name: Maven Build | |
| run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.ORGANIZATION_TOKEN }} | |
| - name: Maven Verify | |
| run: mvn verify -B |