code signing - use try electron builder

This commit is contained in:
Jan Prochazka 2021-01-12 18:17:46 +01:00
parent 63af42b69d
commit 69b9ce8afc

View File

@ -40,15 +40,17 @@ jobs:
yarn run build:app
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }} # token for electron publish
CSC_LINK: ${{ secrets.WINCERT_CERTIFICATE }}
CSC_KEY_PASSWORD: ${{ secrets.WINCERT_PASSWORD }}
- name: codeSigning
if: matrix.os == 'windows-2016'
uses: DanaBear/code-sign-action@v4
with:
certificate: '${{ secrets.WINCERT_CERTIFICATE }}'
password: '${{ secrets.WINCERT_PASSWORD }}'
certificatename: 'Jan Prochazka'
folder: 'app/dist'
# - name: codeSigning
# if: matrix.os == 'windows-2016'
# uses: DanaBear/code-sign-action@v4
# with:
# certificate: '${{ secrets.WINCERT_CERTIFICATE }}'
# password: '${{ secrets.WINCERT_PASSWORD }}'
# certificatename: 'Jan Prochazka'
# folder: 'app/dist'
- name: generatePadFile
run: |