mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-23 00:41:48 +03:00
feat: signing windows .exe (#2058)
This commit is contained in:
parent
7578449a67
commit
46b4f54548
20
.github/workflows/insider-windows.yml
vendored
20
.github/workflows/insider-windows.yml
vendored
@ -99,6 +99,26 @@ jobs:
|
||||
run: ./prepare_assets.sh
|
||||
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
||||
|
||||
- name: Upload unsigned artifacts
|
||||
id: upload-unsigned-artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: assets/*.exe
|
||||
retention-days: 1
|
||||
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
||||
|
||||
- name: Signing
|
||||
uses: signpath/github-action-submit-signing-request@v1
|
||||
with:
|
||||
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
|
||||
organization-id: '${{ secrets.SIGNPATH_ORG_ID }}'
|
||||
project-slug: '${{ secrets.SIGNPATH_PROJECT_ID }}'
|
||||
signing-policy-slug: '${{ secrets.SIGNPATH_POLICY_SLUG }}'
|
||||
github-artifact-id: '${{ steps.upload-unsigned-artifacts.outputs.artifact-id }}'
|
||||
wait-for-completion: true
|
||||
output-artifact-directory: assets/
|
||||
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')
|
||||
|
||||
- name: Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.STRONGER_GITHUB_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user