name: GCToolKit Pre-release Notes
on:
push:
branches: [ main ]
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.event.head_commit.message, '[maven-release-plugin]') != true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up JDK 11
uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287 # v5.3.0
java-version: 11
distribution: 'microsoft'
cache: 'maven'
- name: Build with Maven
run: ./mvnw -B verify --file pom.xml
- name: Git-release
run: |
./mvnw -B -pl :gctoolkit -Pjreleaser jreleaser:release
env:
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}microsoft/gctoolkit
Publicmirrored from https://github.com/microsoft/gctoolkitAvailable
.github/workflows/early_access.yml
30lines · modepreview