Skip to content

Commit 5e10786

Browse files
committed
Merge branch 'master' of https://github.com/VladimirKhil/SI
2 parents c4092fe + 306df66 commit 5e10786

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: SIQuester release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
9+
runs-on: windows-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Setup .NET
14+
uses: actions/setup-dotnet@v2
15+
with:
16+
dotnet-version: 6.0.x
17+
- name: Add msbuild to PATH
18+
uses: microsoft/setup-msbuild@v1.1
19+
- name: Restore dependencies
20+
run: dotnet restore SIQuester.sln
21+
- name: Publish x86
22+
run: dotnet publish src\SIQuester\SIQuester\SIQuester.csproj -c Release -p:PublishSingleFile=true -r win-x86 --self-contained true -p:EnableCompressionInSingleFile=true /property:Version=5.8.1
23+
- name: Publish x64
24+
run: dotnet publish src\SIQuester\SIQuester\SIQuester.csproj -c Release -p:PublishSingleFile=true -r win-x64 --self-contained true -p:EnableCompressionInSingleFile=true /property:Version=5.8.1
25+
- name: Build MSI x86
26+
run: msbuild deploy\SIQuester.Setup\SIQuester.Setup.wixproj /p:Configuration=Release /p:Platform=x86 /p:OutputPath=../../bin/.Release/SIQuester.Setup/x86 /p:BuildProjectReferences=false /p:MsiProductVersion=5.8.1
27+
- name: Build MSI x64
28+
run: msbuild deploy\SIQuester.Setup\SIQuester.Setup.wixproj /p:Configuration=Release /p:Platform=x64 /p:OutputPath=../../bin/.Release/SIQuester.Setup/x64 /p:BuildProjectReferences=false /p:MsiProductVersion=5.8.1
29+
- name: Build Setup
30+
run: msbuild deploy\SIQuester.Bootstrapper\SIQuester.Bootstrapper.wixproj /p:Configuration=Release /p:OutputPath=../../bin/.Release/SIQuester.Bootstrapper /p:BuildProjectReferences=false /p:MsiProductVersion=5.8.1

0 commit comments

Comments
 (0)