This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
archive repository #8
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
# 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 }} | |
disable-maven-dependency-submission: ${{ vars.DISABLE_MAVEN_DEPENDENCY_SUBMISSION }} |