fix: updates to fix publishing #82
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: Unit Tests and Analysis | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- ".github/**" | |
- "**.md" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
name: Unit Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
commands: | | |
mvn -B verify -P all-tests checkstyle:checkstyle -Dcheckstyle.skip=false | |
dir: backend | |
java-distribution: temurin | |
java-version: "17" | |
repository: bcgov/nr-forest-client | |
sonar_args: > | |
-Dsonar.exclusions=**/coverage/** | |
-Dsonar.organization=bcgov-nr | |
-Dsonar.projectKey=action-test-and-analyse-java | |
sonar_token: ${{ secrets.SONAR_TOKEN }} | |