Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/cve-scanning-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,16 @@ jobs:
with:
java-version: '17'
distribution: 'temurin'
- name: Check NVD API Key
shell: bash
run: |
echo "Key length: ${#NVD_API_KEY}" || echo "Could not determine key length"
env:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
- name: Build with Gradle
run: ./gradlew build
- name: CVEs
run: ./gradlew dependencyCheckAggregate
run: ./gradlew dependencyCheckAggregate -Dnvd.api.key=$NVD_API_KEY
env:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}

Loading