File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 build :
77 strategy :
88 matrix :
9- os : [ubuntu-22 .04, windows-2022 ]
9+ os : [ubuntu-24 .04, windows-2025 ]
1010 runs-on : ${{ matrix.os }}
1111 steps :
1212 - name : Enable Long Paths in Git (Linux)
@@ -16,11 +16,11 @@ jobs:
1616 if : runner.os == 'Windows'
1717 run : git config --system core.longpaths true
1818 - name : Checkout
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v6
2020 with :
2121 submodules : true
2222 - name : Setup JDK
23- uses : actions/setup-java@v3
23+ uses : actions/setup-java@v5
2424 with :
2525 distribution : ' temurin'
2626 java-version : 17
2929 run : ./mvnw clean package
3030 - name : Store P2 Repository
3131 if : runner.os == 'Linux'
32- uses : actions/upload-artifact@v3
32+ uses : actions/upload-artifact@v6
3333 with :
3434 name : p2-jamopp
3535 path : jamopp.p2/target/repository
Original file line number Diff line number Diff line change 99 uses : ./.github/workflows/build.yml
1010 deploy-nightly :
1111 needs : build
12- runs-on : ubuntu-22 .04
12+ runs-on : ubuntu-24 .04
1313 steps :
1414 - name : Download P2 Repository
15- uses : actions/download-artifact@v3
15+ uses : actions/download-artifact@v6
1616 with :
1717 name : p2-jamopp
1818 path : p2-jamopp
Original file line number Diff line number Diff line change 99 type : string
1010jobs :
1111 release :
12- runs-on : ubuntu-22 .04
12+ runs-on : ubuntu-24 .04
1313 steps :
1414 - name : Checkout
15- uses : actions/checkout@v3
15+ uses : actions/checkout@v6
1616 - name : Setup JDK
17- uses : actions/setup-java@v3
17+ uses : actions/setup-java@v5
1818 with :
1919 distribution : ' temurin'
2020 java-version : 17
@@ -36,19 +36,19 @@ jobs:
3636 release-version : ${{ inputs.release-version }}
3737 link-path : ${{ env.DEPLOY_PATH }}
3838 - name : Setup Apache Maven Central
39- uses : actions/setup-java@3.6.0
39+ uses : actions/setup-java@4.7.1
4040 with :
4141 java-version : 17
4242 distribution : ' temurin'
43- server-id : ossrh
44- server-username : OSSRH_USERNAME
45- server-password : OSSRH_PASSWORD
43+ server-id : central
44+ server-username : CENTRAL_USERNAME
45+ server-password : CENTRAL_PASSWORD
4646 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
4747 gpg-passphrase : MAVEN_GPG_PASSPHRASE
4848 cache : ' maven'
4949 - name : Deploy to Apache Maven Central
5050 run : mvn -Pdeploy-mvn-central deploy
5151 env :
52- OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
53- OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
52+ CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
53+ CENTRAL_PASSWORD : ${{ secrets.CENTRAL_PASSWORD }}
5454 MAVEN_GPG_PASSPHRASE : $${{ secrets.MAVEN_GPG_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments