Skip to content

daily-build

daily-build #1276

Workflow file for this run

name: daily-build
on:
schedule:
- cron: "0 6 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install libhyperic-sigar
run: sudo apt-get install libhyperic-sigar-java
- name: fetch head
uses: actions/checkout@v3
- name: setup jdk
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
cache: 'maven'
server-id: github
settings-path: ${{ github.workspace }}/.mvn/
- name: cache .m2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: maven build
run: ./mvnw -B -U verify -s $GITHUB_WORKSPACE/.mvn/settings.xml
env:
GITHUB_TOKEN: ${{secrets.serverpass}}