diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dddcd0c..9af51d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84e1d01..9a88b70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}