Skip to content

Test #12.

Test #12. #13

Workflow file for this run

name: test-win-signing
on:
push
jobs:
test_sign:
if: github.repository == 'MusculoskeletalAtlasProject/mapclient'
name: Test sign executable
runs-on: windows-2019
steps:
- name: list stuff
shell: cmd
run: |
echo "=========="
dir "C:\Program Files (x86)\"
echo "=========="
dir "C:\Program Files (x86)\Windows Kits\"
echo "=========="
dir "C:\Program Files (x86)\Windows Kits\10\"
echo "=========="
dir "C:\Program Files (x86)\Windows Kits\10\bin\"
echo "=========="
dir "C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\"
echo "=========="
- name: save secret to file
shell: bash
run: |
echo $EV_CERTIFICATE_PFX_BASE64 | base64 -d -o ./ev_certificate.pfx
ls -l
env:
EV_CERTIFICATE_PFX_BASE64: ${{ secrets.WIN_EV_CERTIFICATE_PFX_BASE64 }}
- name: Sign application
shell: bash
run: |
powershell -Command "(new-object net.webclient).DownloadString('https://github.com/MusculoskeletalAtlasProject/mapclient/releases/download/v0.20.1.rc2/MAP-Client-0.20.1.exe')" > MAP-Client-0.20.1.exe
ls -l
Signtool sign /?
- name: Clean up
shell: bash
run: |
rm ev_certificate.pfx.base64 ev_certificate.pfx