This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
Merge pull request #79 from 1and1/7424dependabot/maven/org.apache.mav… #271
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 11, 12, 13, 14, 15, 17, 19 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: ${{ matrix.java }} | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: plugin-jdk-${{ matrix.java }} | |
path: target/go-maven-poller-plugin.jar |