Skip to content

Merge pull request #22 from yupiik/asciidoc-indent #447

Merge pull request #22 from yupiik/asciidoc-indent

Merge pull request #22 from yupiik/asciidoc-indent #447

Workflow file for this run

#
# Copyright (c) 2020 - Yupiik SAS - https://www.yupiik.com
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
name: Java CI with Maven
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: cache
restore-keys: cache
- name: Build with Maven
run: mvn -B clean install
- name: Remove Snapshots Before Caching
run: find ~/.m2 -name '*SNAPSHOT' | xargs rm -Rf