Skip to content

Commit 357ff8b

Browse files
authored
Update release_and_push.yml
1 parent 1bf4b2c commit 357ff8b

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

.github/workflows/release_and_push.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,10 @@ on:
88

99
jobs:
1010

11-
test:
12-
13-
runs-on: ubuntu-latest
14-
15-
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v3
18-
19-
- name: Set up JDK 17
20-
uses: actions/setup-java@v3
21-
with:
22-
java-version: '17'
23-
distribution: 'temurin'
24-
cache: maven
25-
26-
- name: Maven Tests
27-
run: ./mvnw --batch-mode -Dmaven.test.failure.ignore=true test
28-
29-
- name: Report
30-
uses: dorny/test-reporter@v1.6.0
31-
if: always()
32-
with:
33-
name: Maven Tests
34-
path: target/surefire-reports/*.xml
35-
reporter: java-junit
36-
fail-on-error: true
37-
3811
publish:
3912

4013
runs-on: ubuntu-latest
4114

42-
needs: [test]
43-
4415
permissions:
4516
contents: read
4617
packages: write
@@ -63,7 +34,7 @@ jobs:
6334
run: mvn clean package -DskipTests
6435

6536
- name: Publish to the Maven Central Repository
66-
run: mvn --no-transfer-progress clean deploy -Pdeploy
37+
run: mvn --no-transfer-progress deploy
6738

6839
env:
6940
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}

0 commit comments

Comments
 (0)