-
Notifications
You must be signed in to change notification settings - Fork 32
42 lines (39 loc) · 992 Bytes
/
Copy pathbuild.yml
File metadata and controls
42 lines (39 loc) · 992 Bytes
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
40
41
42
name: Build
on:
push:
branches:
- 'master'
pull_request:
paths-ignore:
- '**.md'
- '**.svg'
- '**.png'
- 'LICENSE.txt'
- 'NOTICE.txt'
permissions:
contents: read
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: '25'
distribution: 'temurin'
cache: maven
- name: Maven Install
env:
ORCHESTRATOR_SONAR_VERSION: ${{ vars.ORCHESTRATOR_SONAR_VERSION || 'LATEST_RELEASE' }}
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