Update actions/setup-java action to v4 #122
Workflow file for this run
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: Maven CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: true | |
max-parallel: 3 | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Configuración JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: zulu | |
- name: Compilar con Maven | |
run: mvn -B package --file pom.xml | |
- name: Subir JARs generados | |
uses: actions/upload-artifact@v3 | |
with: | |
name: JARs plugins (${{ matrix.os }}) | |
path: jar |