File tree Expand file tree Collapse file tree 6 files changed +11
-93
lines changed Expand file tree Collapse file tree 6 files changed +11
-93
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ jobs:
31
31
GH_TOKEN : ${{ github.token }}
32
32
33
33
- name : Close issue if everything is fine
34
- if : env.lychee_exit_code == 0 && steps.find-issue.outputs.number != ''
34
+ if : steps.lychee.outputs.exit_code == 0 && steps.find-issue.outputs.number != ''
35
35
run : gh issue close -r 'not planned' ${{ steps.find-issue.outputs.number }}
36
36
env :
37
37
GH_TOKEN : ${{ github.token }}
38
38
39
39
- name : Create Issue From File
40
- if : env.lychee_exit_code != 0
40
+ if : steps.lychee.outputs.exit_code != 0
41
41
uses : peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # v5
42
42
with :
43
43
issue-number : ${{ steps.find-issue.outputs.number }}
Original file line number Diff line number Diff line change @@ -128,9 +128,6 @@ jobs:
128
128
runs-on : ubuntu-latest
129
129
needs : [prepare-release]
130
130
timeout-minutes : 60
131
- permissions :
132
- contents : write
133
- packages : write
134
131
steps :
135
132
- uses : actions/checkout@v4
136
133
@@ -145,6 +142,8 @@ jobs:
145
142
with : # running setup-java overwrites the settings.xml
146
143
distribution : ' temurin'
147
144
java-version : ' 17'
145
+ server-id : github-central
146
+ server-password : PACKAGES_CENTRAL_TOKEN
148
147
gpg-passphrase : MAVEN_GPG_PASSPHRASE
149
148
gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Only import once
150
149
@@ -155,9 +154,9 @@ jobs:
155
154
modules+=($(echo $dependency_management_block | grep -oP '(?<=<artifactId>)[^<]+'))
156
155
printf -v modules_joined '%s,' "${modules[@]}"
157
156
modules_arg=$(echo "${modules_joined%,}")
158
- ./mvnw -B deploy -pl "$modules_arg" -am -T2C -P publish -DskipTests -DaltDeploymentRepository=github::https://maven.pkg.github.com/${{ github.repository }}
157
+ ./mvnw -B deploy -pl "$modules_arg" -am -T2C -P publish -DskipTests -DaltDeploymentRepository=github-central ::https://maven.pkg.github.com/xdev-software/central
159
158
env :
160
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
159
+ PACKAGES_CENTRAL_TOKEN : ${{ secrets.PACKAGES_CENTRAL_TOKEN }}
161
160
MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
162
161
163
162
- name : Set up JDK
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
publish-maven :
8
8
runs-on : ubuntu-latest
9
9
timeout-minutes : 60
10
- permissions :
11
- contents : read
12
- packages : write
13
10
steps :
14
11
- uses : actions/checkout@v4
15
12
18
15
with : # running setup-java overwrites the settings.xml
19
16
distribution : ' temurin'
20
17
java-version : ' 17'
18
+ server-id : github-central
19
+ server-password : PACKAGES_CENTRAL_TOKEN
21
20
gpg-passphrase : MAVEN_GPG_PASSPHRASE
22
21
gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Only import once
23
22
28
27
modules+=($(echo $dependency_management_block | grep -oP '(?<=<artifactId>)[^<]+'))
29
28
printf -v modules_joined '%s,' "${modules[@]}"
30
29
modules_arg=$(echo "${modules_joined%,}")
31
- ./mvnw -B deploy -pl "$modules_arg" -am -T2C -P publish -DskipTests -DaltDeploymentRepository=github::https://maven.pkg.github.com/${{ github.repository }}
30
+ ./mvnw -B deploy -pl "$modules_arg" -am -T2C -P publish -DskipTests -DaltDeploymentRepository=github-central ::https://maven.pkg.github.com/xdev-software/central
32
31
env :
33
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ PACKAGES_CENTRAL_TOKEN : ${{ secrets.PACKAGES_CENTRAL_TOKEN }}
34
33
MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
35
34
36
35
- name : Set up JDK
Original file line number Diff line number Diff line change 14
14
# KIND, either express or implied. See the License for the
15
15
# specific language governing permissions and limitations
16
16
# under the License.
17
- distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.10 /apache-maven-3.9.10 -bin.zip
17
+ distributionUrl =https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11 /apache-maven-3.9.11 -bin.zip
Original file line number Diff line number Diff line change 1
1
[ ![ Maven latest version] ( https://img.shields.io/maven-central/v/software.xdev.mockserver/client?logo=apache%20maven )] ( https://mvnrepository.com/artifact/software.xdev.mockserver/client )
2
2
[ ![ DockerHub latest version] ( https://img.shields.io/docker/v/xdevsoftware/mockserver?sort=semver&logo=docker&label=DockerHub )] ( https://hub.docker.com/r/xdevsoftware/mockserver )
3
3
[ ![ Build] ( https://img.shields.io/github/actions/workflow/status/xdev-software/mockserver-neolight/check-build.yml?branch=develop )] ( https://github.com/xdev-software/mockserver-neolight/actions/workflows/check-build.yml?query=branch%3Adevelop )
4
- [ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=xdev-software_mockserver-neolight&metric=alert_status )] ( https://sonarcloud.io/dashboard?id=xdev-software_mockserver-neolight )
5
4
6
5
# <img src =" ./assets/logo.avif " height =34 /> MockServer NeoLight
7
6
You can’t perform that action at this time.
0 commit comments