Skip to content

Bump actions/upload-artifact from 4.3.4 to 4.3.5 #513

Bump actions/upload-artifact from 4.3.4 to 4.3.5

Bump actions/upload-artifact from 4.3.4 to 4.3.5 #513

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches:
- 'main'
- 'RELEASE-*'
pull_request:
branches:
- 'main'
- 'RELEASE-*'
permissions:
contents: read
jobs:
build:
# TODO update once 25-ea is available
strategy:
matrix:
java-version: [ '21' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
#TODO remove -Pstaging once all Jakarta EE 11 dependencies are GA
run: mvn -B -Pstaging package --file pom.xml