Skip to content

chore(deps): bump actions/upload-artifact from 5.0.0 to 7.0.1 in /.github/workflows #779

chore(deps): bump actions/upload-artifact from 5.0.0 to 7.0.1 in /.github/workflows

chore(deps): bump actions/upload-artifact from 5.0.0 to 7.0.1 in /.github/workflows #779

Workflow file for this run

name: Maven verify
on:
pull_request:
jobs:
verify:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'adopt'
- name: Cache maven packages
uses: actions/cache@v5
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run the maven verify
run: mvn --batch-mode --update-snapshots clean verify
- name: Save the PR number in a file
run: echo ${{ github.event.number }} > PR_NUMBER.txt
- name: Upload the PR number as an artifact
uses: actions/upload-artifact@v7.0.1
with:
name: PR_NUMBER
path: PR_NUMBER.txt
generate-docs:
runs-on: ubuntu-latest
needs: verify
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'adopt'
- name: Generate the javadoc
run: mvn --batch-mode javadoc:javadoc