Skip to content

Commit

Permalink
release: v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mhewedy committed Jul 21, 2024
1 parent 2786c17 commit 6996eab
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,16 @@ jobs:
run: mvn -B test --file pom.xml

- name: Submit code coverage
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_SECRET }}
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_SECRET }}

- name: echo
run: echo $OSSRH_USERNAME; echo $OSSRH_PASSWORD; echo $OSSRH_TOKEN_USERNAME; echo $OSSRH_TOKEN_PASSWORD;

- name: Publish to Apache Maven Central
#if: ${{ startsWith(github.ref, 'refs/tags/v') }}
run: cat ~/.m2/settings.xml && mvn -DskipTests deploy -Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }}
run: cat ~/.m2/settings.xml && mvn --encrypt-password -DskipTests deploy -Dgpg.passphrase=${{ secrets.MAVEN_GPG_PASSPHRASE }}
env:
#OSSRH_USERNAME: ${{ secrets.OSSRH_TOKEN_USERNAME }}
#OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN_PASSWORD }}
OSSRH_USERNAME: ${{ secrets.OSSRH_TOKEN_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

0 comments on commit 6996eab

Please sign in to comment.