Skip to content

Commit f20fb5f

Browse files
[TMP] Test signing on PR builds
1 parent 0b29fae commit f20fb5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven-build-master-and-publish-snapshot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Maven build and publish Master Snapshot
77

88
on:
99
push:
10-
branches: [ master ]
10+
branches: [ master, enable-gpg-signing ]
1111

1212
jobs:
1313
maven-build-master-and-publish-to-maven-central:
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2424

25-
- run: mvn -f symja_android_library -B -U -P publish-to-maven-central,exact-target-jdk deploy
25+
- run: mvn -f symja_android_library -B -U -P -e -X publish-to-maven-central,exact-target-jdk install
2626
# Deployment of all modules is deferred to the last module by nexus-staging-maven-plugin
2727
env:
2828
MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USERNAME }}

0 commit comments

Comments
 (0)