Skip to content

ebean-agent EA

ebean-agent EA #121

Workflow file for this run

name: ebean-agent EA
on:
workflow_dispatch:
schedule:
- cron: '48 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@v3
- 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@v3
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: Build with Maven
run: mvn package -Pgithub
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}