Skip to content

Add ORCHESTRATOR_SONAR_VERSION override for integration tests #803

Add ORCHESTRATOR_SONAR_VERSION override for integration tests

Add ORCHESTRATOR_SONAR_VERSION override for integration tests #803

Workflow file for this run

name: Build
on:
push:
branches:
- 'master'
pull_request:
paths-ignore:
- '**.md'
- '**.svg'
- '**.png'
- 'LICENSE.txt'
- 'NOTICE.txt'
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 30 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 30, Col: 39): Unrecognized named-value: 'LATEST_VERSION'. Located at position 36 within expression: vars.ORCHESTRATOR_SONAR_VERSION || LATEST_VERSION
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