-
Notifications
You must be signed in to change notification settings - Fork 80
41 lines (32 loc) · 1.15 KB
/
build-alpha-patch-signed.yml
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
40
41
name: Alpha Patches (Signed)
on:
push:
branches:
- master
jobs:
call-alpha-patch-build:
name: Trigger Alpha Patch Build (Unsigned)
if: github.repository == 'dkfans/keeperfx'
uses: ./.github/workflows/build-alpha-patch-unsigned.yml
sign-alpha-patch-artifact:
name: "Sign Alpha Patch"
if: github.repository == 'dkfans/keeperfx'
runs-on: ubuntu-24.04
needs: call-alpha-patch-build
steps:
- name: Sign artifact
uses: signpath/[email protected]
with:
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
organization-id: '${{ vars.SIGNPATH_ORGANIZATION_ID }}'
project-slug: '${{ vars.SIGNPATH_PROJECT_SLUG }}'
signing-policy-slug: '${{ vars.SIGNPATH_SIGNING_POLICY_SLUG }}'
artifact-configuration-slug: 'standard'
github-artifact-id: '${{ needs.call-alpha-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-alpha-patch-build.outputs.zip-name }}-signed
path: pkg/**