Skip to content

Removing leftover class as raised in #1236 #1156

Removing leftover class as raised in #1236

Removing leftover class as raised in #1236 #1156

Workflow file for this run

# Copyright 2018 The original authors.
#
# 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: Build
env:
MAVEN_ARGS: -B -e
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: Java ${{ matrix.java }} Maven
runs-on: ubuntu-latest
strategy:
matrix:
java: [8,11,17]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Java
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Setup jbang
run: curl -Ls https://sh.jbang.dev | bash -s - app setup
- name: Build Project
run: ./mvnw ${MAVEN_ARGS} clean install
- name: Zip Artifacts
if: failure()
run: |
zip -R manifests-build-jvm${{ matrix.java }}.zip 'classes/META-INF/dekorate/*'
- uses: actions/upload-artifact@v1
if: failure()
with:
name: ci-manifests
path: manifests-build-jvm${{ matrix.java }}.zip