Skip to content

Bump lycheeverse/lychee-action from 2.8.0 to 2.9.0 #123

Bump lycheeverse/lychee-action from 2.8.0 to 2.9.0

Bump lycheeverse/lychee-action from 2.8.0 to 2.9.0 #123

name: Check compatibility step 1
on:
pull_request:
env:
MAVEN_ARGS: "-B -ntp"
jobs:
checking-job:
runs-on: ubuntu-latest
steps:
- name: ⚙️ Checkout and Setup Maven
uses: s4u/setup-maven-action@v1.20.0
with:
checkout-submodules: true
checkout-fetch-depth: 0
java-version: 21
- name: ❓ Check if profile exists
run: mvn help:all-profiles | grep -q check-compatibility && touch continue
- if: ${{ hashFiles('continue') != '' }}
name: ☕ Check compatibility on PR
run: mvn -U install -D skipTests -P check-compatibility -D compatibility.reportFile=$PWD/report.md
- if: ${{ hashFiles('continue') != '' }}
name: ⚙️ Store PR number
run: echo ${{ github.event.number }} > pr_number.txt
- if: ${{ hashFiles('continue') != '' }}
name: ⬆️ Upload compatibility report and PR number
uses: actions/upload-artifact@v7
with:
path: |
report.md
pr_number.txt