Skip to content

Update actions/upload-artifact action to v3.2.1 #711

Update actions/upload-artifact action to v3.2.1

Update actions/upload-artifact action to v3.2.1 #711

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*