Commit c213b8d
authored
Refactor GitHub release workflow to attach signed artifacts (#160)
* ci: reorder release pipeline — sign first, then publish to GitHub
Fixes OpenSSF Scorecard "Signed-Releases" finding: release artifacts
uploaded to GitHub were unsigned. The pipeline now publishes to Maven
Central first (GPG-signed via maven-gpg-plugin), collects the signed
JARs and .asc files from target/, then attaches them to the GitHub
Release so every release asset has a verifiable signature.
For java-llama.cpp the release_to_maven_central flag is preserved:
- When true: publish-release signs + deploys to Central, then
github-release-signed uploads the signed assets to GitHub.
- When false/absent: github-release uploads unsigned jars as before.
* ci: remove unsigned github-release fallback from java-llama.cpp
A GitHub Release is now only created via the signed path:
publish-release (GPG sign + Maven Central) -> github-release-signed.
The unsigned fallback job is removed for a clean, single-path pipeline.1 parent ac84fe0 commit c213b8d
1 file changed
Lines changed: 29 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | 742 | | |
760 | 743 | | |
761 | 744 | | |
762 | | - | |
| 745 | + | |
763 | 746 | | |
764 | 747 | | |
| 748 | + | |
| 749 | + | |
765 | 750 | | |
766 | 751 | | |
767 | 752 | | |
| |||
790 | 775 | | |
791 | 776 | | |
792 | 777 | | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
0 commit comments