File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88jobs :
99 build :
10- runs-on : ubuntu-latest
10+ runs-on : ubuntu-24.04
1111
1212 steps :
1313 - uses : actions/checkout@v3
1818 distribution : ' temurin'
1919 cache : maven
2020 - name : Build with Maven
21- run : mvn -B clean package -DskipTests --file pom.xml
21+ run : ./mvnw -B clean package -DskipTests --file pom.xml
2222 - name : github release
2323 uses : softprops/action-gh-release@v2
2424 with :
Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11- runs-on : ubuntu-latest
11+ runs-on : ubuntu-24.04
1212
1313 steps :
1414 - uses : actions/checkout@v3
2828 env :
2929 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
3030 MAVEN_CENTRAL_TOKEN : ${{ secrets.OSSRH_PASSWORD }}
31- MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
32- - name : List staged content
33- if : always()
34- run : |
35- find target/central-staging -type f | sort
36- unzip -l target/central-publishing/central-bundle.zip || true
37- - name : Upload bundle
38- if : always()
39- uses : actions/upload-artifact@v4
40- with :
41- name : central-bundle
42- path : |
43- target/central-publishing/
44- target/central-staging/
31+ MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ on: workflow_dispatch
44
55jobs :
66 build :
7- runs-on : ubuntu-latest
7+ runs-on : ubuntu-24.04
88
99 steps :
1010 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1818 build :
1919
2020 if : ${{ ! startsWith(github.event.head_commit.message, '[maven-release-plugin]') }}
21- runs-on : ubuntu-latest
21+ runs-on : ubuntu-24.04
2222
2323 steps :
2424 - uses : actions/checkout@v3
2929 distribution : ' temurin'
3030 cache : maven
3131 - name : Build with Maven
32- run : mvn -B clean install --file pom.xml
32+ run : ./mvnw -B clean install --file pom.xml
3333
3434 # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
3535 # - name: Update dependency graph
You can’t perform that action at this time.
0 commit comments