File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 - name : Build
2323 run : |
2424 try {
25- $env:build_wix = 'C:\Program Files (x86)\WiX Toolset v3.11\bin'
26-
2725 .\Provider\build.ps1 -Configuration ${{ env.CONFIGURATION }}
2826 exit $LASTEXITCODE
2927 }
Original file line number Diff line number Diff line change @@ -10,13 +10,6 @@ $baseDir = Split-Path -Parent $PSCommandPath
1010$outDir = " $baseDir \out"
1111$version = ' '
1212
13- if ($env: build_wix ) {
14- $wix = $env: build_wix
15- }
16- else {
17- $wix = ' I:\devel\bin\wix-binaries'
18- }
19-
2013function Clean () {
2114 if (Test-Path $outDir ) {
2215 rm - Force - Recurse $outDir
@@ -49,15 +42,6 @@ function NuGets() {
4942 cp $baseDir \src\FirebirdSql.EntityFrameworkCore.Firebird\bin\$Configuration \FirebirdSql.EntityFrameworkCore.Firebird.$version.snupkg $outDir
5043}
5144
52- function WiX () {
53- $wixVersion = $version -replace ' (.+?)(-[a-z0-9]+)?' , ' $1'
54- & $wix \candle.exe " -dBaseDir=$baseDir " " -dVersion=$wixVersion " " -dConfiguration=$Configuration " - ext $wix \WixUtilExtension.dll - out $outDir \Installer.wixobj $baseDir \installer\Installer.wxs
55- & $wix \light.exe - ext $wix \WixUIExtension.dll - ext $wix \WixUtilExtension.dll - out $outDir \FirebirdSql.Data.FirebirdClient- $version.msi $outDir \Installer.wixobj
56- rm $outDir \Installer.wixobj
57- rm $outDir \FirebirdSql.Data.FirebirdClient- $version.wixpdb
58- }
59-
6045Clean
6146Build
6247NuGets
63- WiX
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments