Merge pull request #1057 from pylonmc/balugaq/fix-drill-and-breaker #322
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: Publish to Maven Central Snapshots | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| env: | |
| SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} | |
| SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} | |
| SIGNING_KEY: ${{ secrets.PGP_KEY }} | |
| SIGNING_PASSWORD: ${{ secrets.PGP_PASSWORD }} | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4.2.2 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v4.6.0 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4.2.2 | |
| - name: Publish snapshot to Maven Central | |
| run: ./gradlew publishAggregationToCentralPortalSnapshots -Ppylon-core.version=1.0.0-SNAPSHOT | |
| - name: Breakpoint if publish failed | |
| if: failure() | |
| uses: namespacelabs/breakpoint-action@v0 | |
| with: | |
| duration: 30m | |
| authorized-users: Seggan |