Merge pull request #13 from FlexConfirmMail/resolve-recipient #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | |
cp Global.public.cs Global.cs | |
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 |