Skip to content

Updates

Updates #299

Workflow file for this run

name: Build Plugin
on: [ push, pull_request ]
jobs:
gradle-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version-file: gradle/jdk-version.txt
- uses: gradle/actions/setup-gradle@v3
- run: "./gradlew qualityCheck"
env:
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }}
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }}
- run: "./gradlew test"
env:
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }}
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }}
- run: "./gradlew endToEndTest"
env:
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }}
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }}
- run: "./gradlew endToEndTestSlow"
env:
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }}
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }}
- run: "./gradlew cyclonedxBom"
env:
BUILD_CACHE_USER: ${{ secrets.BUILD_CACHE_USER }}
BUILD_CACHE_PWD: ${{ secrets.BUILD_CACHE_PWD }}
- uses: DependencyTrack/gh-upload-sbom@v3
with:
apiKey: ${{ secrets.DEPENDENCYTRACK_APIKEY }}
bomFilename: "gradle/aggregation/build/reports/sbom/bom.xml"
serverHostname: "212.132.95.131:8091"
port: "8091"
protocol: "http"
projectName: "gradle-project-setup-howto"
projectVersion: ${{ github.ref_name }}
autoCreate: true