Skip to content

Commit f63048d

Browse files
committed
fix proposals of @lfgcampos
1 parent cddaa67 commit f63048d

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,20 @@ jobs:
4242
4343
- name: Regular build
4444
run: |
45-
mvn -B -U clean verify
46-
env:
47-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
./mvnw -B -U clean verify
4846
4947
- name: Sonar analysis
5048
if: matrix.sonar-enabled
5149
run: | # no clean
52-
mvn -B sonar:sonar \
50+
./mvnw -B sonar:sonar \
5351
-Dsonar.projectKey=AxonFramework_extension-kafka \
5452
-Dsonar.organization=axonframework \
5553
-Dsonar.host.url=https://sonarcloud.io \
5654
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
57-
env:
58-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5955
6056
- name: Run integration tests
6157
run: | # no clean
62-
mvn -B -Pitest
63-
env:
64-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
./mvnw -B -Pitest
6559
6660
- name: Deploy to Sonatype
6761
if: success()

.github/workflows/pullrequest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
3838
- name: Run regular build
3939
run: |
40-
mvn -B -U clean verify
40+
./mvnw -B -U clean verify
4141
4242
- name: Run integration tests
4343
run: | # no clean
44-
mvn -B -Pitest
44+
./mvnw -B -Pitest

0 commit comments

Comments
 (0)