File tree Expand file tree Collapse file tree 7 files changed +15
-97
lines changed
sessionize-java-client-demo Expand file tree Collapse file tree 7 files changed +15
-97
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ jobs:
3131 GH_TOKEN : ${{ github.token }}
3232
3333 - 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 != ''
3535 run : gh issue close -r 'not planned' ${{ steps.find-issue.outputs.number }}
3636 env :
3737 GH_TOKEN : ${{ github.token }}
3838
3939 - name : Create Issue From File
40- if : env.lychee_exit_code != 0
40+ if : steps.lychee.outputs.exit_code != 0
4141 uses : peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # v5
4242 with :
4343 issue-number : ${{ steps.find-issue.outputs.number }}
Original file line number Diff line number Diff line change @@ -104,9 +104,6 @@ jobs:
104104 runs-on : ubuntu-latest
105105 needs : [prepare-release]
106106 timeout-minutes : 60
107- permissions :
108- contents : read
109- packages : write
110107 steps :
111108 - uses : actions/checkout@v4
112109
@@ -121,15 +118,17 @@ jobs:
121118 with : # running setup-java overwrites the settings.xml
122119 distribution : ' temurin'
123120 java-version : ' 17'
121+ server-id : github-central
122+ server-password : PACKAGES_CENTRAL_TOKEN
124123 gpg-passphrase : MAVEN_GPG_PASSPHRASE
125124 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Only import once
126125
127- - name : Publish to Central Portal
128- run : ../mvnw -B deploy -P publish -DskipTests -DaltDeploymentRepository=github::https://maven.pkg.github.com/${{ github.repository }}
126+ - name : Publish to GitHub Packages Central
127+ run : ../mvnw -B deploy -P publish -DskipTests -DaltDeploymentRepository=github-central::https://maven.pkg.github.com/xdev-software/central
128+ working-directory : ${{ env.PRIMARY_MAVEN_MODULE }}
129129 env :
130- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
130+ PACKAGES_CENTRAL_TOKEN : ${{ secrets.PACKAGES_CENTRAL_TOKEN }}
131131 MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
132- working-directory : ${{ env.PRIMARY_MAVEN_MODULE }}
133132
134133 - name : Set up JDK
135134 uses : actions/setup-java@v4
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1010 publish-maven :
1111 runs-on : ubuntu-latest
1212 timeout-minutes : 60
13- permissions :
14- contents : read
15- packages : write
1613 steps :
1714 - uses : actions/checkout@v4
1815
@@ -21,14 +18,16 @@ jobs:
2118 with : # running setup-java overwrites the settings.xml
2219 distribution : ' temurin'
2320 java-version : ' 17'
21+ server-id : github-central
22+ server-password : PACKAGES_CENTRAL_TOKEN
2423 gpg-passphrase : MAVEN_GPG_PASSPHRASE
2524 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Only import once
2625
27- - name : Publish to GitHub Packages
28- run : ../mvnw -B deploy -P publish -DskipTests -DaltDeploymentRepository=github::https://maven.pkg.github.com/${{ github.repository }}
26+ - name : Publish to GitHub Packages Central
27+ run : ../mvnw -B deploy -P publish -DskipTests -DaltDeploymentRepository=github-central ::https://maven.pkg.github.com/xdev-software/central
2928 working-directory : ${{ env.PRIMARY_MAVEN_MODULE }}
3029 env :
31- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30+ PACKAGES_CENTRAL_TOKEN : ${{ secrets.PACKAGES_CENTRAL_TOKEN }}
3231 MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
3332
3433 - name : Set up JDK
Original file line number Diff line number Diff line change 1414# KIND, either express or implied. See the License for the
1515# specific language governing permissions and limitations
1616# 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 11[ ![ Latest version] ( https://img.shields.io/maven-central/v/software.xdev/sessionize-java-client?logo=apache%20maven )] ( https://mvnrepository.com/artifact/software.xdev/sessionize-java-client )
22[ ![ Build] ( https://img.shields.io/github/actions/workflow/status/xdev-software/sessionize-java-client/check-build.yml?branch=develop )] ( https://github.com/xdev-software/sessionize-java-client/actions/workflows/check-build.yml?query=branch%3Adevelop )
3- [ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=xdev-software_sessionize-java-client&metric=alert_status )] ( https://sonarcloud.io/dashboard?id=xdev-software_sessionize-java-client )
43[ ![ API Specification Editor] ( https://img.shields.io/badge/API--Spec-Editor-85ea2d?logo=swagger )] ( https://editor.swagger.io/?url=https://raw.githubusercontent.com/xdev-software/sessionize-java-client/develop/openapi/openapi.yml )
54
65# <img src =" https://sessionize.com/landing/images/brand/logo/sessionize-avatar.svg " height =" 22 " /> [ sessionize] ( https://sessionize.com/ ) -java-client
Original file line number Diff line number Diff line change 2828
2929 <mainClass >software.xdev.Application</mainClass >
3030
31- <log4j2-version >2.25.0 </log4j2-version >
31+ <log4j2-version >2.25.1 </log4j2-version >
3232 </properties >
3333
3434 <dependencies >
You can’t perform that action at this time.
0 commit comments