Skip to content

Commit 31bae56

Browse files
committed
reuse common action, persist-credentials true (default)
Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>
1 parent 0527982 commit 31bae56

1 file changed

Lines changed: 23 additions & 24 deletions

File tree

.github/workflows/ci-test.yml

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,27 @@ jobs:
1818
os: [ubuntu-latest, windows-latest, macos-latest]
1919

2020
steps:
21-
# - name: Checkout, set up JDK 21, build with Maven and Run SonarCloud analysis
22-
# uses: powsybl/github-ci/setup-java-maven-sonar@ad525ed0fe9a287baf5eea5c569d8c95f0266e79
23-
# with:
24-
# sonar_token: ${{ secrets.SONAR_TOKEN }}
25-
# sonar_projectKey: 'com.powsybl:powsybl-core'
26-
27-
- name: Checkout sources
28-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
29-
with:
30-
fetch-depth: 0
31-
32-
- name: Set up JDK 21
33-
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
21+
- name: Checkout, set up JDK 21, build with Maven and Run SonarCloud analysis
22+
uses: powsybl/github-ci/setup-java-maven-sonar@ad525ed0fe9a287baf5eea5c569d8c95f0266e79
3423
with:
35-
distribution: 'temurin'
36-
java-version: '21'
37-
cache: 'maven'
38-
39-
- name: Build with Maven ( Ubuntu )
40-
if: matrix.os == 'ubuntu-latest'
41-
run: mvn -B -ntp -Pjacoco install
42-
43-
- name: Build with Maven ( != Ubuntu )
44-
if: matrix.os != 'ubuntu-latest'
45-
run: mvn -B -ntp verify
24+
sonar_token: ${{ secrets.SONAR_TOKEN }}
25+
sonar_projectKey: 'com.powsybl:powsybl-core'
26+
# - name: Checkout sources
27+
# uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
# with:
29+
# fetch-depth: 0
30+
#
31+
# - name: Set up JDK 21
32+
# uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
33+
# with:
34+
# distribution: 'temurin'
35+
# java-version: '21'
36+
# cache: 'maven'
37+
#
38+
# - name: Build with Maven ( Ubuntu )
39+
# if: matrix.os == 'ubuntu-latest'
40+
# run: mvn -B -ntp -Pjacoco install
41+
#
42+
# - name: Build with Maven ( != Ubuntu )
43+
# if: matrix.os != 'ubuntu-latest'
44+
# run: mvn -B -ntp verify

0 commit comments

Comments
 (0)