File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,15 @@ jobs:
102102 mvn versions:set -DnewVersion=${{ needs.bump.outputs.major_version }}.${{ needs.bump.outputs.minor_version }}.${{ needs.bump.outputs.build_version }} -DgenerateBackupPoms=false
103103 - name : Build and verify with Maven 🔨
104104 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."
105114 - name : Publish to Maven Central
106115 run : mvn verify central-publishing:publish -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} $MAVEN_ARGS
107116 env :
Original file line number Diff line number Diff line change 169169 </execution >
170170 </executions >
171171 <configuration >
172+ <attachPom >true</attachPom >
172173 <gpgArguments >
173174 <gpgArgument >--pinentry-mode</gpgArgument >
174175 <gpgArgument >loopback</gpgArgument >
You can’t perform that action at this time.
0 commit comments