Skip to content

Series.replace(Map), position(..), contains(..), expand(..) #273 #547

Series.replace(Map), position(..), contains(..), expand(..) #273

Series.replace(Map), position(..), contains(..), expand(..) #273 #547

Workflow file for this run

name: 'build test deploy'
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
db: [ 'derby', 'mysql', 'postgresql' ]
java: [ 11, 17, 21 ]
steps:
- name: Checkout...
uses: actions/checkout@v2
- name: Set up JDK...
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Retrieve mvn repo cache...
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-build-${{ matrix.db }}-v1
restore-keys: |
${{ runner.os }}-maven-
- name: Build and test...
run: mvn clean verify -U -P ${{ matrix.db }}
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout...
uses: actions/checkout@v2
- name: Set up JDK...
uses: actions/setup-java@v1
with:
java-version: 11
- name: Retrieve mvn repo cache...
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-deploy-v1
restore-keys: |
${{ runner.os }}-maven-
- name: Deploy...
run: mvn clean source:jar javadoc:javadoc deploy -U -DskipTests --settings .github/workflows/maven_settings.xml
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}