diff --git a/.github/workflows/nvd-cache-refresh.yml b/.github/workflows/nvd-cache-refresh.yml index d4383a7..dfa1ae7 100644 --- a/.github/workflows/nvd-cache-refresh.yml +++ b/.github/workflows/nvd-cache-refresh.yml @@ -67,7 +67,7 @@ jobs: NVD_APIKEY_SEDR: ${{ secrets.NVD_APIKEY_SEDR }} - name: Save NVD Database Cache - if: steps.nvd-update.outputs.nvd_update_timed_out != 'true' && steps.nvd-update.outputs.nvd_update_failed != 'true' + if: steps.nvd-update.outputs.nvd_update_failed != 'true' uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: ~/.gradle/dependency-check-data diff --git a/nvd-cache-primer/build.gradle b/nvd-cache-primer/build.gradle index 81e64f4..6ad0aa4 100644 --- a/nvd-cache-primer/build.gradle +++ b/nvd-cache-primer/build.gradle @@ -9,6 +9,7 @@ repositories { dependencyCheck { nvd { apiKey = System.getenv('NVD_APIKEY_SEDR') ?: System.getenv('NVD_APIKEY') + delay = 800 } failBuildOnCVSS = 9 format = 'HTML'