Skip to content

Commit f2f60c5

Browse files
committed
Add nvd api key to github action
1 parent baead84 commit f2f60c5

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ado_artifacts_build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
run: |
3333
./gradlew publish
3434
env:
35+
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
3536
AZURE_DEVOPS_ARTIFACT_USERNAME: ${{ secrets.AZURE_DEVOPS_ARTIFACT_USERNAME }}
3637
AZURE_DEVOPS_ARTIFACT_TOKEN: ${{ secrets.AZURE_DEVOPS_ARTIFACT_TOKEN }}
3738
RELEASE_VERSION: ${{ inputs.version || github.ref_name }}

.github/workflows/gradle.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
java-version: 17
1616
distribution: 'temurin'
1717
- name: Build
18+
env:
19+
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
1820
run: ./gradlew check -i
1921
- name: Release
2022
env:

0 commit comments

Comments
 (0)