-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (36 loc) · 1.14 KB
/
build_maven_package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# CI with maven build and scan
#
# version 1.1.0
#
# see : https://universe.fugerit.org/src/docs/conventions/workflows/build_maven_package.html
name: CI maven build and scan
on:
# Trigger analysis when pushing in master or pull requests, and when creating
# a pull request.
push:
branches:
- main
- develop
- branch-preview
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: fugerit-org/psychic-actions/maven-build-scan@stable
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
sonar-token: ${{ secrets.SONAR_TOKEN }}
#snyk-token: ${{ secrets.SNYK_TOKEN }}
#snyk-image: fj-doc-playground-quarkus
#snyk-args: --file=fj-doc-playground-quarkus/Dockerfile
#snyk-dockercontext: fj-doc-playground-quarkus
#snyk-dockertag: fj-doc-playground-quarkus
maven-additional-profiles: ',buildreact'
disable-maven-dependency-submission: ${{ vars.DISABLE_MAVEN_DEPENDENCY_SUBMISSION }}
disable-upload-sarif: ${{ vars.DISABLE_UPLOAD_SARIF }}