forked from ebean-orm/ebean
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (42 loc) · 1.03 KB
/
jdk-ea.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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,23]
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-settings
uses: s4u/maven-settings-action@v2
with:
servers: '[{"id": "github-release", "username": "dummy", "password": "${GITHUB_TOKEN}"}]'
githubServer: false
- name: Maven version
run: mvn --version
- name: Build with Maven
run: mvn -T 8 test -Pgithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}