Skip to content

Commit 0e780c7

Browse files
[TMP] Test signing on PR builds
1 parent dda27b2 commit 0e780c7

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
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 -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+

.github/workflows/maven-perform-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# Perform the usual maven-release-plugin procedure, but prevent the release commits
2828
# and tag from being pushed to the master immediately. They are only pushed after
2929
# the release is performed successfully. This avoids to have the release
30-
# commits on the master in case release publication fails in the last step).
30+
# commits on the master in case release publication fails in the last step.
3131
# All file-system/git-operations are performed on the runnner's clone of this repo
3232

3333
- run: mvn -f symja_android_library -B release:clean release:prepare -DpushChanges=false

0 commit comments

Comments
 (0)