Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
d3ep4k authored Sep 27, 2021
1 parent 4546190 commit f97a1e6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@ jobs:
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Package MTG API
run: mvn -f sdk/pom.xml package -Dgpg.passphrase=$MAVEN_PASSWORD
env:
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
- name: Publish MTG API on Maven Central
run: mvn -f sdk/pom.xml --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
- name: Package Mason
run: mvn -f taglib/pom.xml package -Dgpg.passphrase=$MAVEN_PASSWORD
env:
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
- name: Publish Mason on Maven Central
run: mvn -f taglib/pom.xml --batch-mode deploy
env:
Expand Down

0 comments on commit f97a1e6

Please sign in to comment.