Skip to content

Merge remote-tracking branch 'origin/master' into bugfix/update-readm… #36

Merge remote-tracking branch 'origin/master' into bugfix/update-readm…

Merge remote-tracking branch 'origin/master' into bugfix/update-readm… #36

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches-ignore:
- master
jobs:
unit-test:
strategy:
matrix:
javaVersion: [8, 11]
liquibaseVersion: [3.5.0, 3.7.0, 3.10.0, 4.0.0, 4.4.0]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.javaVersion }}
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew test -PliquibaseVersion=${{ matrix.liquibaseVersion }}
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 8
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew build
- uses: actions/upload-artifact@v2
with:
name: Package
path: build/libs