Skip to content

CI IT

CI IT #395

Workflow file for this run

name: CI IT
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1,3,5'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2it-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-m2-
- uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: jvalkeal/setup-maven@v1
with:
maven-version: 3.6.2
- uses: manusa/[email protected]
with:
minikube version: v1.28.0
kubernetes version: v1.24.10
github token: ${{ secrets.GITHUB_TOKEN }}
# build
- name: Build
run: |
mvn -U -B -Pfailsafe clean install
# clean m2 cache
- name: Clean cache
run: |
find ~/.m2/repository -type d -name '*SNAPSHOT' | xargs rm -fr