Add ORCHESTRATOR_SONAR_VERSION override for integration tests
#801
Workflow file for this run
This file contains hidden or 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: Build | ||
| on: | ||
| push: | ||
| branches: | ||
| - 'master' | ||
| pull_request: | ||
| paths-ignore: | ||
| - '**.md' | ||
| - '**.svg' | ||
| - '**.png' | ||
| - 'LICENSE.txt' | ||
| - 'NOTICE.txt' | ||
| - '.git*' | ||
| jobs: | ||
| install: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Setup Java | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: '17' | ||
| distribution: 'temurin' | ||
| cache: maven | ||
| - name: Maven Install | ||
| env: | ||
| ORCHESTRATOR_SONAR_VERSION: ${{ vars.ORCHESTRATOR_SONAR_VERSION || LATEST_VERSION }} | ||
|
Check failure on line 31 in .github/workflows/build.yml
|
||
| run: > | ||
| mvn clean install | ||
| -Dsonar.runtimeVersion=$ORCHESTRATOR_SONAR_VERSION | ||
| -Pci --batch-mode --no-transfer-progress | ||
| - name: Upload plugin jar | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: sonar-delphi-plugin-jar | ||
| path: sonar-delphi-plugin/target/sonar-delphi-plugin-*.jar | ||