Skip to content

Commit

Permalink
Use DownloadSecureFile afterall since we want to separate build/sign
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Aug 24, 2019
1 parent a261c1a commit bb4e2bf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ steps:
npm install
npm run electron:deps
ELECTRON=1 node ./electron/build.js
- task: InstallAppleCertificate@2
- task: DownloadSecureFile@1
name: certificate
inputs:
certSecureFile: certificate.p12
certPwd: $(CSC_KEY_PASSWORD)
secureFile: certificate.p12
- task: CmdLine@2
inputs:
script: ./node_modules/.bin/electron-builder --x64 -mwl
env:
CSC_LINK: $(certificate.secureFilePath)
CSC_KEY_PASSWORD: $(CSC_KEY_PASSWORD)
GH_TOKEN: $(GH_TOKEN)

0 comments on commit bb4e2bf

Please sign in to comment.