Skip to content

Commit 33c70c3

Browse files
committed
Actions: sign the srpm
[skip changelog] Signed-off-by: Luca Magrone <luca@magrone.cc>
1 parent a414b37 commit 33c70c3

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/srpm.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,17 @@ jobs:
3535
- name: Release
3636
run: echo "release=$(ls SRPMS/*.rpm | cut -d'-' -f4 | cut -d'.' -f1)" >> "$GITHUB_OUTPUT"
3737
id: release
38+
- name: Sign
39+
uses: FKLC/sign-files-action@v1.0.0
40+
with:
41+
privateKey: ${{ secrets.PRIVATE_KEY }}
42+
outputFolder: 'SRPMS'
43+
files: |
44+
SRPMS/*.rpm
3845
- name: Create Release
3946
uses: ncipollo/release-action@v1
4047
with:
41-
artifacts: "SRPMS/*.rpm"
48+
artifacts: "SRPMS/*.rpm,SRPMS/*.rpm.sig"
4249
name: ${{ steps.version.outputs.version }}-${{ steps.release.outputs.release }}
4350
tag: ${{ steps.version.outputs.version }}-${{ steps.release.outputs.release }}
4451
commit: main

0 commit comments

Comments
 (0)