Skip to content

Commit fbeede6

Browse files
authored
Update java.yml
Change deploy on push to test on push
1 parent f9a1cdb commit fbeede6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/java.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2525
restore-keys: ${{ runner.os }}-m2
2626

27-
- name: Deploy to Maven Central
28-
run: mvn clean deploy --settings ./.github/settings.xml
27+
- name: Test
28+
run: mvn clean test --settings ./.github/settings.xml
2929
env:
3030
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
3131
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
32-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
32+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)