Skip to content

[maven-release-plugin] prepare release snowflake-connector-0.2.0 #77

[maven-release-plugin] prepare release snowflake-connector-0.2.0

[maven-release-plugin] prepare release snowflake-connector-0.2.0 #77

Workflow file for this run

name: Build and test
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
jdk: [ '11', '17' ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.jdk }}
distribution: 'adopt'
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: License check
run: mvn -B license:check
- name: Build and test
run: mvn -B clean install