Fixing release actions on Linux #9
Workflow file for this run
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
name: Deploy Windows Installer | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Setup MSBuild | |
uses: microsoft/[email protected] | |
- name: Setup .NET Framework 3.5 | |
shell: pwsh | |
run: Install-WindowsFeature Net-Framework-Core | |
- name: Setup Wix Toolset | |
run: | | |
curl -OLS https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311.exe | |
./wix311.exe /install /quiet /norestart | |
- name: Build Windows Installer | |
run: | | |
cd src/Camelot.WindowsInstaller | |
msbuild -p:Configuration=Release -p:platform=x64 | |
- name: Upload Release Asset | |
id: upload-release-asset | |
uses: svenstaro/upload-release-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref }} | |
file: ./src/Camelot.WindowsInstaller/bin/Release/Camelot.msi | |
asset_name: CamelotWindows.msi |