forked from dkfans/keeperfx
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 1.16 KB
/
build-release-patch-signed.yml
File metadata and controls
39 lines (30 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Release Patches (Signed)
on:
workflow_dispatch:
jobs:
call-release-patch-build:
name: Trigger Release Patch Build (Unsigned)
if: github.repository == 'dkfans/keeperfx'
uses: ./.github/workflows/build-release-patch-unsigned.yml
sign-release-patch-artifact:
name: "Sign Release Patch"
if: github.repository == 'dkfans/keeperfx'
runs-on: ubuntu-24.04
needs: call-release-patch-build
steps:
- name: Sign artifact
uses: signpath/github-action-submit-signing-request@v1.1
with:
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
organization-id: '${{ vars.SIGNPATH_ORGANIZATION_ID }}'
project-slug: '${{ vars.SIGNPATH_PROJECT_SLUG }}'
signing-policy-slug: '${{ vars.SIGNPATH_STABLE_SIGNING_POLICY_SLUG }}'
artifact-configuration-slug: 'standard'
github-artifact-id: '${{ needs.call-release-patch-build.outputs.artifact-id }}'
wait-for-completion: true
output-artifact-directory: 'pkg/'
- name: Upload signed artifact
uses: actions/upload-artifact@v4
with:
name: ${{ needs.call-release-patch-build.outputs.zip-name }}-signed
path: pkg/**