support NO_COLOR env var to disable ansi color #600
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OWASP Dependency Check | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get Fetch Tags | |
run: git -c protocol.version=2 fetch --tags --progress --no-recurse-submodules origin | |
if: "!contains(github.ref, 'refs/tags')" | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'zulu' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew dependencyCheckAggregate -Porg.gradle.dependency.verification.console=verbose --dependency-verification lenient | |
- uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: dependency-check-reports | |
path: build/reports/dependency-check-report* |