File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,15 @@ jobs:
102
102
mvn versions:set -DnewVersion=${{ needs.bump.outputs.major_version }}.${{ needs.bump.outputs.minor_version }}.${{ needs.bump.outputs.build_version }} -DgenerateBackupPoms=false
103
103
- name : Build and verify with Maven 🔨
104
104
run : mvn --batch-mode --update-snapshots verify $MAVEN_ARGS
105
+ - name : List signed files 🐞
106
+ run : |
107
+ echo "📦 Contents of target/:"
108
+ ls -lh target/
109
+ echo ""
110
+ echo "🔍 GPG signatures:"
111
+ find target/ -type f -name "*.asc" -exec echo "✔ Found:" {} \;
112
+ echo ""
113
+ echo "❓ Missing POM signature?" && test ! -f target/*pom.asc && echo "❌ No POM signature found!" || echo "✅ POM is signed."
105
114
- name : Publish to Maven Central
106
115
run : mvn verify central-publishing:publish -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} $MAVEN_ARGS
107
116
env :
Original file line number Diff line number Diff line change 169
169
</execution >
170
170
</executions >
171
171
<configuration >
172
+ <attachPom >true</attachPom >
172
173
<gpgArguments >
173
174
<gpgArgument >--pinentry-mode</gpgArgument >
174
175
<gpgArgument >loopback</gpgArgument >
You can’t perform that action at this time.
0 commit comments