Skip to content

Commit

Permalink
fix keypair name
Browse files Browse the repository at this point in the history
  • Loading branch information
karolsojko committed Nov 21, 2023
1 parent cdeafee commit 474ef47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/desktop.test-windows.sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
run: |
dir
echo "::set-output name=version::${GITHUB_REF#refs/tags/v}"
echo "::set-output name=KEYPAIR_NAME::sn-keypair"
echo "::set-output name=CERTIFICATE_NAME::sn-certificate"
echo "::set-output name=KEYPAIR_NAME::snkeypair"
echo "::set-output name=CERTIFICATE_NAME::sncertificate"
echo "SM_HOST=${{ secrets.SM_HOST }}" >> "$GITHUB_ENV"
echo "SM_API_KEY=${{ secrets.SM_API_KEY }}" >> "$GITHUB_ENV"
echo "SM_CLIENT_CERT_FILE=D:\\Certificate_pkcs12.p12" >> "$GITHUB_ENV"
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop/scripts/windowsSign.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exports.default = async function(configuration) {
if(configuration.path){
require("child_process").execSync(
`smctl sign --keypair-alias=${sn-keypair} --input "${String(configuration.path)}"`
`smctl sign --keypair-alias=snkeypair --input "${String(configuration.path)}"`
);
}
};

0 comments on commit 474ef47

Please sign in to comment.