update to 1.20.1 #29
This file contains 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: 'Build Commit' | |
on: | |
push: | |
branches: | |
- 'main' | |
- '[0-9]+.[0-9]+.x' | |
- '[0-9]+.[0-9]+' | |
paths-ignore: | |
- '*.md' | |
- 'LICENSE' | |
- '.github/**' | |
tags-ignore: | |
- '[0-9]+.[0-9]+.[0-9]+-[0-9]+.[0-9]+' | |
- '[0-9]+.[0-9]+-[0-9]+.[0-9]+' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Setup Build | |
run: chmod 777 gradlew | |
- name: Build with Gradle | |
id: build | |
env: | |
MAVEN_URL: ${{ vars.MAVEN_URL }} | |
MAVEN_USER: ${{ vars.MAVEN_USER }} | |
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} | |
RELEASE_TYPE: snapshot | |
run: ./gradlew build publish |