Skip to content

Commit d4e8489

Browse files
committed
chore: fix github action os image version
1 parent da4435b commit d4e8489

4 files changed

Lines changed: 7 additions & 20 deletions

File tree

‎.github/workflows/gh-release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111

1212
steps:
1313
- uses: actions/checkout@v3
@@ -18,7 +18,7 @@ jobs:
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:

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212

1313
steps:
1414
- uses: actions/checkout@v3
@@ -28,17 +28,4 @@ jobs:
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 }}

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: workflow_dispatch
44

55
jobs:
66
build:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-24.04
88

99
steps:
1010
- uses: actions/checkout@v3

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
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
@@ -29,7 +29,7 @@ jobs:
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

0 commit comments

Comments
 (0)