Skip to content

Change build & release policy #112

Change build & release policy

Change build & release policy #112

Workflow file for this run

on: [push]
name: Build
jobs:
build:
runs-on: [ windows-2019 ]
steps:
- uses: actions/checkout@v2
- uses: microsoft/[email protected]
- name: Generate self-signed cert
run: |
$cert = New-SelfSignedCertificate -Subject "CN=FlexConfirmMailSelfSign" -Type CodeSigningCert -CertStoreLocation "Cert:\CurrentUser\My" -NotAfter (Get-Date).AddYears(10)
(Get-Content FlexConfirmMail.csproj) -Replace '<ManifestCertificateThumbprint>[^<]*',("<ManifestCertificateThumbprint>" + $cert.Thumbprint) | Set-Content FlexConfirmMail.csproj
- name: Compile
run: |
msbuild /p:Configuration=Release
- name: Make Installer
run: iscc.exe FlexConfirmMail.iss
- name: Upload Installer
uses: actions/upload-artifact@v2
with:
name: Installer
path: dest/*.exe