mirror of
https://github.com/audacity/audacity-actions.git
synced 2025-12-11 19:56:38 -06:00
Use signing service to sign windows binaries
This commit is contained in:
parent
d3d18d6f15
commit
3dfd97a830
@ -20,11 +20,11 @@ inputs:
|
|||||||
description: 'Build type. Valid values are: Debug, Release, RelWithDebInfo, MinSizeRel'
|
description: 'Build type. Valid values are: Debug, Release, RelWithDebInfo, MinSizeRel'
|
||||||
required: false
|
required: false
|
||||||
default: RelWithDebInfo
|
default: RelWithDebInfo
|
||||||
windows_certificate:
|
windows_code_signing_access_key_id:
|
||||||
description: 'BASE64 of the Windows code signing certificate PFX file'
|
description: 'Access key ID for the Windows code signing service'
|
||||||
required: false
|
required: false
|
||||||
windows_certificate_password:
|
windows_code_signing_secret_access_key:
|
||||||
description: 'Password for the Windows code signing certificate PFX file'
|
description: 'Secret access key for the Windows code signing service'
|
||||||
required: false
|
required: false
|
||||||
apple_codesign_identity:
|
apple_codesign_identity:
|
||||||
description: 'Apple code signing identity'
|
description: 'Apple code signing identity'
|
||||||
|
|||||||
@ -33,12 +33,12 @@ function getMSVCConfiguration() {
|
|||||||
throw new Error('Invalid host architecture');
|
throw new Error('Invalid host architecture');
|
||||||
}
|
}
|
||||||
|
|
||||||
const windowsCertificate = core.getInput('windows_certificate');
|
const windowsCodeSigningAccessKeyId = core.getInput('windows_code_signing_access_key_id');
|
||||||
const windowsCertificatePassword = core.getInput('windows_certificate_password');
|
const windowsCodeSigningSecretAccessKey = core.getInput('windows_code_signing_secret_access_key');
|
||||||
|
|
||||||
if (windowsCertificate !== '' && windowsCertificatePassword !== '') {
|
if (windowsCodeSigningAccessKeyId !== '' && windowsCodeSigningSecretAccessKey !== '' ) {
|
||||||
core.exportVariable('WINDOWS_CERTIFICATE', windowsCertificate);
|
core.exportVariable('WINDOWS_CODE_SIGNING_ACCESS_KEY_ID', windowsCodeSigningAccessKeyId);
|
||||||
core.exportVariable('WINDOWS_CERTIFICATE_PASSWORD', windowsCertificatePassword);
|
core.exportVariable('WINDOWS_CODE_SIGNING_SECRET_ACCESS_KEY', windowsCodeSigningSecretAccessKey);
|
||||||
|
|
||||||
cmakeOptions = [...cmakeOptions, '-Daudacity_perform_codesign=yes'];
|
cmakeOptions = [...cmakeOptions, '-Daudacity_perform_codesign=yes'];
|
||||||
}
|
}
|
||||||
|
|||||||
8
dist/build/index.js
vendored
8
dist/build/index.js
vendored
File diff suppressed because one or more lines are too long
8
dist/configure/index.js
vendored
8
dist/configure/index.js
vendored
File diff suppressed because one or more lines are too long
32
dist/generate_offline_dependencies/index.js
vendored
32
dist/generate_offline_dependencies/index.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/package/build/Release/volume.node
vendored
BIN
dist/package/build/Release/volume.node
vendored
Binary file not shown.
32
dist/package/index.js
vendored
32
dist/package/index.js
vendored
File diff suppressed because one or more lines are too long
8
dist/update_recipes/index.js
vendored
8
dist/update_recipes/index.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user