Skip to content

Commit cc4efe6

Browse files
committed
feat: Windows Signing
1 parent e7eec56 commit cc4efe6

5 files changed

Lines changed: 27 additions & 7 deletions

File tree

.github/workflows/publish.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
push:
88
branches:
99
- main
10+
- windowsSigning
1011

1112
jobs:
1213
build-and-publish:
@@ -70,4 +71,23 @@ jobs:
7071
if: matrix.platform == 'linux'
7172
env:
7273
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73-
run: npm exec electron-builder -- --publish always --linux
74+
run: npm exec electron-builder -- --publish always --linux
75+
76+
- name: upload-unsigned-artifact
77+
id: upload-unsigned-artifact
78+
uses: actions/upload-artifact@v4
79+
with:
80+
name: unsigned-intaller
81+
retention-days: 1
82+
path: CoboltSetup\output\CoboltSetup_${{env.VERSION_FILENAME}}.exe
83+
84+
- name: Sign artifact
85+
if: matrix.platform == 'win'
86+
uses: signpath/github-action-submit-signing-request@v1.1
87+
with:
88+
api-token: ${{secrets.SIGNPATH_API_TOKEN}}
89+
organization-id: 3fe5dc9d-e6f6-4c25-83e5-70c5844441b9
90+
project-slug: cobolt
91+
signing-policy-slug: test-signing
92+
github-artifact-id: ${{steps.upload-unsigned-artifact.outputs.artifact-id}}
93+
wait-for-completion: true

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cobolt",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "Your personal AI companion",
55
"keywords": [],
66
"repository": {

release/app/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cobolt",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "Cobolt",
55
"license": "MIT",
66
"author": {

0 commit comments

Comments
 (0)