Skip to content

Commit cabe096

Browse files
committed
update
1 parent d3dd329 commit cabe096

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

.github/workflows/maven-release.yml

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,37 +25,13 @@ jobs:
2525
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2626
restore-keys: ${{ runner.os }}-m2
2727
- name: Build
28-
run: ./mvnw clean verify -DskipTests=true
29-
#run: ./mvnw clean verify
30-
31-
test:
32-
name: Test
33-
needs: build
34-
runs-on: ubuntu-latest
35-
steps:
36-
- uses: actions/checkout@v3
37-
with:
38-
fetch-depth: 0
39-
- name: Set up JDK 11
40-
uses: actions/setup-java@v3
41-
with:
42-
java-version: 11
43-
distribution: 'zulu'
44-
- name: Cache Maven packages
45-
uses: actions/cache@v3
46-
with:
47-
path: ~/.m2
48-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
49-
restore-keys: ${{ runner.os }}-m2
50-
- name: Build
51-
run: ./mvnw clean package install -DskipTests=true
52-
#- name: Build, test
53-
# run: ./mvnw -B test
28+
run: ./mvnw clean install -DskipTests=true
29+
#run: ./mvnw clean install
5430

5531
publish-OSSRH:
5632
runs-on: ubuntu-latest
5733
name: Publish to Maven Central
58-
needs: test
34+
needs: install
5935
permissions:
6036
contents: read
6137
packages: write

0 commit comments

Comments
 (0)