update plugins path in release script #430
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 Build | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
build: | |
name: Build on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- windows-latest | |
- macos-latest | |
steps: | |
- name: Setup Maven Action | |
uses: s4u/[email protected] | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
cache: pip # caching pip dependencies | |
- name: install pytest | |
run: | | |
pip install pytest | |
- name: Build with Maven | |
uses: coactions/setup-xvfb@v1 | |
with: | |
run: mvn -B package --file pom.xml | |
SBOM-upload: | |
name: SBOM-upload | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Maven Action | |
uses: s4u/[email protected] | |
- name: Submit Dependency Snapshot | |
uses: advanced-security/maven-dependency-submission-action@v4 |