Combines the separate CI (build/test) and Deployment (publish) workflows into a single gated pipeline, and fixes the snapshot publish failure that broke develop.
Workflow
main.yml now handles both: PRs run build/test; pushes to develop/master run build/test then publish.
- Publishing runs only after the build/tests pass — previously
Deployment ran independently, so a broken commit could still publish a snapshot.
release.yml is removed.
Signing fix
- Snapshots are no longer signed — Central Portal snapshots don't require signatures, so
signAllPublications() is gated to non-SNAPSHOT versions; the develop publish needs no key.
GPG_KEY is normalized via printf '%b', so a secret stored with literal \n works for master release signing.
Combines the separate
CI(build/test) andDeployment(publish) workflows into a single gated pipeline, and fixes the snapshot publish failure that brokedevelop.Workflow
main.ymlnow handles both: PRs run build/test; pushes todevelop/masterrun build/test then publish.Deploymentran independently, so a broken commit could still publish a snapshot.release.ymlis removed.Signing fix
signAllPublications()is gated to non-SNAPSHOTversions; thedeveloppublish needs no key.GPG_KEYis normalized viaprintf '%b', so a secret stored with literal\nworks formasterrelease signing.