update signing
This commit is contained in:
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@@ -174,6 +174,18 @@ jobs:
|
||||
run: |
|
||||
make ${{ matrix.platform }}-release
|
||||
|
||||
- name: Code Sign
|
||||
if: ${{ inputs.upload-artifact && startsWith(matrix.platform,'windows') }}
|
||||
uses: hiddify/signtool-code-sign-sha256@main
|
||||
with:
|
||||
certificate: '${{ secrets.WINDOWS_SIGNING_KEY }}'
|
||||
cert-password: '${{ secrets.WINDOWS_SIGNING_PASSWORD }}'
|
||||
cert-sha1: '${{ secrets.WINDOWS_SIGNING_SHA1 }}'
|
||||
folder: 'out'
|
||||
timestamp-server: 'http://timestamp.digicert.com'
|
||||
recursive: true
|
||||
description: 'Hiddify'
|
||||
|
||||
- name: Copy to out Windows
|
||||
if: matrix.platform == 'windows'
|
||||
run: |
|
||||
@@ -193,16 +205,7 @@ jobs:
|
||||
dart run sentry_dart_plugin
|
||||
|
||||
|
||||
- name: Code Sign
|
||||
if: ${{ inputs.upload-artifact && startsWith(matrix.platform,'windows') }}
|
||||
uses: hiddify/signtool-code-sign-sha256@main
|
||||
with:
|
||||
certificate: '${{ secrets.WINDOWS_SIGNING_KEY }}'
|
||||
cert-password: '${{ secrets.WINDOWS_SIGNING_PASSWORD }}'
|
||||
folder: 'out'
|
||||
timestamp-server: 'http://timestamp.digicert.com'
|
||||
recursive: true
|
||||
description: 'Hiddify'
|
||||
|
||||
|
||||
- name: Copy to out Android APK
|
||||
if: matrix.platform == 'android-apk'
|
||||
|
||||
@@ -9,7 +9,7 @@ protocol_activation: hiddify
|
||||
execution_alias: hiddify
|
||||
certificate_path: windows\sign.pfx
|
||||
certificate_password:
|
||||
publisher: CN=8CB43675-F44B-4AA5-9372-E8727781BDC4
|
||||
publisher: CN=8CB43675-F44B-4AA5-9372-E8727781BDC4, O=Hiddify, C=US
|
||||
install_certificate: "false"
|
||||
enable_at_startup: "true"
|
||||
startup_task:
|
||||
|
||||
Reference in New Issue
Block a user