Skip to content

Fix owasp-java-html-sanitizer version #32

Fix owasp-java-html-sanitizer version

Fix owasp-java-html-sanitizer version #32

Workflow file for this run

name: build
on:
pull_request:
types: [opened, reopened, ready_for_review, synchronize]
push:
env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
jobs:
compile:
runs-on: ubuntu-20.04
timeout-minutes: 30
steps:
- name: Checkout project
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Cache for maven dependencies
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: maven-repo-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-repo-${{ hashFiles('**/pom.xml') }}
maven-repo-
- name: Setup java
uses: actions/setup-java@v1
with:
java-version: 8
- name: Run a full build
run: mvn clean install -DskipTests
- name: Store binaries
uses: actions/upload-artifact@v2
with:
name: backend
path: target/*.jar