Skip to content

[build] move to yupiik-tools 1.2.1 #7

[build] move to yupiik-tools 1.2.1

[build] move to yupiik-tools 1.2.1 #7

Workflow file for this run

name: Github CI
on: [ push, pull_request ]
env:
MAVEN_OPTS: -Dmaven.artifact.threads=256 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
build:
name: Main Build
runs-on: ubuntu-20.04
steps:
- name: Clone
id: clone
uses: actions/checkout@v4
- name: Set up JDK 21
id: java21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
cache: 'maven'
- name: Build
run: mvn package -e
- name: Remove Snapshots Before Caching
run: find ~/.m2/repository -name '*SNAPSHOT' | xargs rm -Rf
deploy-doc:
if: github.ref == 'refs/heads/main'
name: Documentation
runs-on: ubuntu-20.04
steps:
- name: Clone
id: clone
uses: actions/checkout@v4
- name: Set up JDK 21
id: java21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
cache: 'maven'
- name: Deploy-Documentation
run: mvn package -Pgh-pages -e -DskipTests
- name: Remove Snapshots Before Caching
run: find ~/.m2/repository -name '*SNAPSHOT' | xargs rm -Rf