fix(setup-db): remove secondary cache key #36
@@ -30,7 +30,6 @@ runs:
|
|||||||
key: trivy-db-${{ steps.current-date.outputs.current-date }}
|
key: trivy-db-${{ steps.current-date.outputs.current-date }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
trivy-db-${{ steps.current-date.outputs.current-date }}
|
trivy-db-${{ steps.current-date.outputs.current-date }}
|
||||||
trivy-db-
|
|
||||||
- if: steps.restore-db.outputs.cache-hit != 'true'
|
- if: steps.restore-db.outputs.cache-hit != 'true'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: trivy fs --download-db-only --cache-dir "${{ inputs.cache-dir }}"
|
run: trivy fs --download-db-only --cache-dir "${{ inputs.cache-dir }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user