Skip to content

Commit

Permalink
updated ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonicrahul committed Feb 18, 2024
1 parent dfc6539 commit d3478d0
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,20 @@ jobs:
- name: Build Electron App for Windows
run: electron-builder build --windows --publish never

- name: Creating Files
uses: "finnp/create-file-action@master"
env:
FILE_NAME: "cert.pem"
FILE_DATA: ${{ secrets.CODESIGN_CERT }}

- name: Creating Files
uses: "finnp/create-file-action@master"
env:
FILE_NAME: "key.pem"
FILE_DATA: ${{ secrets.CODESIGN_KEY }}

- name: Sign EXE
run: |
echo ${{ secrets.CODESIGN_CERT }} > cert.pem
echo ${{ secrets.CODESIGN_KEY }} > key.pem
osslsigncode sign -certs cert.pem -key key.pem -in "dist/20-20-20-refresh Setup 1.0.0.exe" -out "dist/signed-20-20-20-refresh Setup 1.0.0.exe"
- name: Upload
Expand All @@ -56,4 +66,3 @@ jobs:
source: dist/20-20-20-refresh Setup 1.0.0.exe
out_dir: application


0 comments on commit d3478d0

Please sign in to comment.