Skip to content

Commit

Permalink
build and publish parent as part of required project (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinayagarwal authored Sep 18, 2024
1 parent 16dd548 commit 63d893a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
ver=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
if [[ $ver == *"SNAPSHOT"* ]]
then
mvn -B -ntp clean deploy -pl 'emoji, offline'
mvn -B -ntp clean deploy -pl 'emoji, offline' -am
fi
shell: bash
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Publish Release
id: deploy
run: |
mvn -B -ntp clean deploy -Prelease -pl 'emoji, offline'
mvn -B -ntp clean deploy -Prelease -pl 'emoji, offline' -am
echo ::set-output name=exit_code::$?
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
Expand Down

0 comments on commit 63d893a

Please sign in to comment.