Skip to content

ubuntu-build

ubuntu-build #242

Workflow file for this run

name: ubuntu-build
on:
push:
branches:
- master # build after merging code to master
pull_request:
branches:
- master # build after opening a new PR
schedule:
- cron: '0 2 * * *' # run at 2 AM UTC
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
jdk: [11, 14, 16]
runs-on: ${{ matrix.os }}
env:
JDK_VERSION: ${{ matrix.jdk }}
steps:
- name: checkout repository code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.jdk }}
distribution: 'adopt'
- name: Install botan
run: sudo apt-get install -y botan
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify