Skip to content

Commit 84de252

Browse files
[TMP] Test signing on PR builds
1 parent dda27b2 commit 84de252

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 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,9 +22,14 @@ 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 -e -X -Ppublish-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 }}
2929
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}
3030
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
31+
- uses: actions/upload-artifact@v4
32+
with:
33+
name: Package
34+
path: '**/target/*'
35+

0 commit comments

Comments
 (0)