mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-19 16:16:08 +00:00
* Update the kotlin-maven-plugin for tests * Add a profile for EA that excludes kotlin-querybean-generator * For build workflow use maven profile "default" To ensure the kotlin-querybean-generator, test modules run * For build workflow use maven profile "default" To ensure the kotlin-querybean-generator, test modules run
42 lines
779 B
YAML
42 lines
779 B
YAML
|
|
name: ebean EA
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '39 6 * * 1,3,5'
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
java_version: [GA,EA]
|
|
os: [ubuntu-latest]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Java
|
|
uses: oracle-actions/setup-java@v1
|
|
with:
|
|
website: jdk.java.net
|
|
release: ${{ matrix.java_version }}
|
|
- name: Maven cache
|
|
uses: actions/cache@v4
|
|
env:
|
|
cache-name: maven-cache
|
|
with:
|
|
path:
|
|
~/.m2
|
|
key: build-${{ env.cache-name }}
|
|
- name: Maven version
|
|
run: mvn --version
|
|
- name: Build with Maven
|
|
run: mvn test -Pea
|
|
|