Skip to content

Commit 679cabc

Browse files
committed
Combine test execution and snapshot publishing in GitHub Actions workflow
1 parent a7eee28 commit 679cabc

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ jobs:
1919
distribution: 'adopt'
2020
java-version: '11'
2121

22-
- name: run tests
23-
run: ./gradlew test
24-
25-
- name: deploy to sonatype snapshots
26-
run: ./gradlew publishToMavenCentral
22+
- name: run tests and publish snapshots
23+
run: ./gradlew test publishToMavenCentral
2724

2825
- name: bundle the build report
2926
if: failure()

0 commit comments

Comments
 (0)