refactor: try to fix deploy.yml

main
sgoudham 2 years ago
parent d1bcc0e144
commit f3c12c3c70
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -21,25 +21,17 @@ jobs:
cache: 'maven' cache: 'maven'
server-id: ossrh server-id: ossrh
server-username: sgoudham server-username: sgoudham
server-password: ${{ secrets.OSSRH_PASSWORD }} server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }} gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Build - name: Build
run: mvn -B -DskipTests clean package run: mvn -B -DskipTests clean package
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./target/site/jacoco
files: jacoco.xml
fail_ci_if_error: false
- name: Deploy - name: Deploy
env: env:
MAVEN_USERNAME: sgoudham MAVEN_USERNAME: sgoudham
MAVEN_TOKEN: ${{ secrets.OSSRH_PASSWORD }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
run: mvn -B -DskipTests deploy run: mvn -B -DskipTests deploy

Loading…
Cancel
Save