mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
ci: migrate to TrustedSigning from AzureCodeSigning
This commit is contained in:
4
.github/workflows/desktop.publish.yml
vendored
4
.github/workflows/desktop.publish.yml
vendored
@@ -254,8 +254,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
dotnet-version: 6.0.x
|
dotnet-version: 6.0.x
|
||||||
|
|
||||||
- name: Install AzureCodeSigning
|
- name: Install TrustedSigning
|
||||||
run: Install-Module -Name AzureCodeSigning -RequiredVersion 0.3.4 -Force -Repository PSGallery
|
run: Install-Module -Name TrustedSigning -RequiredVersion 0.3.15 -Force -Repository PSGallery
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ module.exports = async function (configuration) {
|
|||||||
const DescriptionUrl = "https://notesnook.com/";
|
const DescriptionUrl = "https://notesnook.com/";
|
||||||
const FilesCatalog = createCatalog(configuration.path);
|
const FilesCatalog = createCatalog(configuration.path);
|
||||||
|
|
||||||
const command = `Invoke-AzureCodeSigning -Endpoint "${Endpoint}" -CodeSigningAccountName "${CodeSigningAccountName}" -CertificateProfileName "${CertificateProfileName}" -FileDigest "${FileDigest}" -TimestampRfc3161 "${TimestampRfc3161}" -TimestampDigest "${TimestampDigest}" -Description "${Description}" -DescriptionUrl "${DescriptionUrl}" -FilesCatalog "${FilesCatalog}"`;
|
const command = `Invoke-TrustedSigning -Endpoint "${Endpoint}" -CodeSigningAccountName "${CodeSigningAccountName}" -CertificateProfileName "${CertificateProfileName}" -FileDigest "${FileDigest}" -TimestampRfc3161 "${TimestampRfc3161}" -TimestampDigest "${TimestampDigest}" -Description "${Description}" -DescriptionUrl "${DescriptionUrl}" -FilesCatalog "${FilesCatalog}"`;
|
||||||
|
|
||||||
console.debug("Signing", configuration.path, "using command", command);
|
console.debug("Signing", configuration.path, "using command", command);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user