microsoft/gctoolkit
Publicmirrored fromhttps://github.com/microsoft/gctoolkitAvailable
.github/workflows/early_access.yml
30lines · modecode
| 1 | name: GCToolKit Pre-release Notes |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ main ] |
| 6 | paths-ignore: |
| 7 | - '**.md' |
| 8 | |
| 9 | jobs: |
| 10 | build: |
| 11 | runs-on: ubuntu-latest |
| 12 | if: startsWith(github.event.head_commit.message, '[maven-release-plugin]') != true |
| 13 | |
| 14 | steps: |
| 15 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 16 | |
| 17 | - name: Set up JDK 11 |
| 18 | uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 |
| 19 | java-version: 11 |
| 20 | distribution: 'microsoft' |
| 21 | cache: 'maven' |
| 22 | |
| 23 | - name: Build with Maven |
| 24 | run: ./mvnw -B verify --file pom.xml |
| 25 | |
| 26 | - name: Git-release |
| 27 | run: | |
| 28 | ./mvnw -B -pl :gctoolkit -Pjreleaser jreleaser:release |
| 29 | env: |
| 30 | JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 31 | |