Skip to content

Commit

Permalink
Updating release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaytotomato committed Aug 9, 2024
1 parent c7bdd18 commit c3d8073
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Build with Maven
run: mvn clean verify
run: mvn clean verify -pl library -am
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Package with Maven
run: mvn versions:set -DnewVersion=${{ env.RELEASE_VERSION }} && mvn package -DskipTests
run: mvn versions:set -DnewVersion=${{ env.RELEASE_VERSION }} -pl library -am && mvn package -DskipTests -pl library -am

- name: Deploy Github and Maven Central
run: mvn deploy -Prelease
run: mvn deploy -pl library -am -Prelease
env:
GITHUB_USERNAME: ${{ secrets.GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c3d8073

Please sign in to comment.