diff --git a/.github/workflows/maven-build-master-and-publish-snapshot.yml b/.github/workflows/maven-build-master-and-publish-snapshot.yml index aa7346de0..83ad891bc 100644 --- a/.github/workflows/maven-build-master-and-publish-snapshot.yml +++ b/.github/workflows/maven-build-master-and-publish-snapshot.yml @@ -7,7 +7,7 @@ name: Maven build and publish Master Snapshot on: push: - branches: [ master ] + branches: [ master, enable-gpg-signing ] jobs: maven-build-master-and-publish-to-maven-central: @@ -22,7 +22,7 @@ jobs: with: gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} - - run: mvn -f symja_android_library -B -U -P publish-to-maven-central,exact-target-jdk deploy -Dgpg.skip=true + - run: mvn -f symja_android_library -B -U -e -X -Ppublish-to-maven-central,exact-target-jdk install # Deployment of all modules is deferred to the last module by nexus-staging-maven-plugin env: MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USERNAME }}