File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ main() {
18
18
19
19
cd " ${ROOT_REPOSITORY_DIR} "
20
20
21
- $mvnw versions:set -DnewVersion=" ${NEW_VERSION} " --batch-mode -Dstyle.color=always
22
- $mvnw deploy -Prelease --batch-mode -Dstyle.color=always
21
+ $mvnw versions:set -DnewVersion=" ${NEW_VERSION} "
22
+ $mvnw deploy -Prelease
23
23
24
24
echo " The new version ${NEW_VERSION} has been published successfully!"
25
25
26
26
echo ' Putting back the DEV version...'
27
- $mvnw versions:set -DnewVersion=" ${DEV_VERSION} " --batch-mode -Dstyle.color=always
27
+ $mvnw versions:set -DnewVersion=" ${DEV_VERSION} "
28
28
}
29
29
30
30
main
Original file line number Diff line number Diff line change 11
11
12
12
permissions : {}
13
13
14
+ env :
15
+ MAVEN_ARGS : --batch-mode -Dstyle.color=always
16
+
14
17
jobs :
15
18
build-and-test :
16
19
name : Build & Test
73
76
SONAR_ORGANIZATION="$(echo '${{ github.repository_owner }}' | awk '{print tolower($0)}')"
74
77
SONAR_PROJECT_KEY="$(echo '${{ github.repository }}' | sed 's/\//_/')"
75
78
76
- ./mvnw verify sonar:sonar --batch-mode -Dstyle.color=always \
79
+ ./mvnw verify sonar:sonar \
77
80
-Dsonar.host.url="${SONAR_HOST_URL}" \
78
81
-Dsonar.organization="${SONAR_ORGANIZATION}" \
79
82
-Dsonar.projectKey="${SONAR_PROJECT_KEY}"
@@ -122,7 +125,7 @@ jobs:
122
125
languages : java
123
126
124
127
- name : Build
125
- run : ./mvnw package --batch-mode -Dstyle.color=always - DskipTests
128
+ run : ./mvnw package -DskipTests
126
129
127
130
- name : Perform CodeQL Analysis
128
131
uses : github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
Original file line number Diff line number Diff line change 69
69
CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
70
70
CENTRAL_TOKEN : ${{ secrets.CENTRAL_TOKEN }}
71
71
MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
72
+ MAVEN_ARGS : --batch-mode -Dstyle.color=always
72
73
working-directory : .github/semantic-release/
73
74
run : npx --no-install semantic-release
You can’t perform that action at this time.
0 commit comments