Releasing 1.0.0-rc.1 #73
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: CI jobs | |
on: | |
push: | |
branches: | |
- main | |
- r[0-9]+.* | |
pull_request: | |
branches: | |
- main | |
- r[0-9]+.* | |
types: [opened, reopened, synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Configure Java | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '11' | |
- name: Checkout repository | |
uses: actions/checkout@v1 | |
- name: Build project | |
run: | | |
java -version | |
mvn -version | |
mvn clean install -B -U -e | |
- name: Deploy snapshot artifacts | |
if: github.event_name == 'push' && contains(github.ref, 'main') | |
run: | | |
echo "<settings><servers><server><id>ossrh</id><username>${{ secrets.CI_DEPLOY_USERNAME }}</username><password>${{ secrets.CI_DEPLOY_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml | |
mvn deploy -B -U -e -Dmaven.test.skip=true |