File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,20 +42,22 @@ jobs:
4242 check-latest : true
4343 go-version-file : ' go.mod'
4444
45- - name : Prep installer generation
46- shell : powershell
47- run : |
48- Start-Sleep -Milliseconds 1
49- Invoke-WebRequest "https://sourceforge.net/projects/nsis/files/NSIS%203/3.10/nsis-3.10-strlen_8192.zip/download" -UserAgent "PowerShell" -Outfile "./nsis.zip"
50- Expand-Archive -Force -LiteralPath ./nsis.zip -DestinationPath "C:\Program Files (x86)\NSIS\"
51-
5245 - name : Compile gauge
5346 run : |
5447 go run build/make.go --verbose --all-platforms
5548 Get-ChildItem -Recurse .\bin
5649
50+ - name : Install NSIS
51+ env :
52+ NSIS_VERSION : ' 3.11'
53+ run : |
54+ Invoke-WebRequest "https://sourceforge.net/projects/nsis/files/NSIS%203/${env:NSIS_VERSION}/nsis-${env:NSIS_VERSION}.zip/download" -UserAgent "PowerShell" -Outfile "./nsis.zip"
55+ Expand-Archive -LiteralPath ./nsis.zip -DestinationPath "${env:ProgramFiles(x86)}\"
56+ Invoke-WebRequest "https://sourceforge.net/projects/nsis/files/NSIS%203/${env:NSIS_VERSION}/nsis-${env:NSIS_VERSION}-strlen_8192.zip/download" -UserAgent "PowerShell" -Outfile "./nsis-8192.zip"
57+ Expand-Archive -Force -LiteralPath ./nsis-8192.zip -DestinationPath "${env:ProgramFiles(x86)}\nsis-${env:NSIS_VERSION}\"
58+ echo "${env:ProgramFiles(x86)}\nsis-${env:NSIS_VERSION}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
59+
5760 - name : Create Distro
58- shell : pwsh
5961 run : |
6062 go run build/make.go --distro --bin-dir bin\windows_amd64
6163 go run build/make.go --distro --bin-dir bin\windows_386
@@ -232,7 +234,6 @@ jobs:
232234 git clone https://github.com/getgauge/chocolatey-packages
233235
234236 - name : Deploy to Gauge $GAUGE_VERSION to choco
235- shell : pwsh
236237 env :
237238 API_KEY : ${{ secrets.NUGET_API_KEY }}
238239 run : |
Original file line number Diff line number Diff line change @@ -177,7 +177,6 @@ jobs:
177177 run : |
178178 cd gauge-tests
179179 .\gradlew.bat clean jsFT
180- shell : pwsh
181180
182181 - name : Install gauge and Run FTs (linux/osx)
183182 if : matrix.os != 'windows-latest'
@@ -202,11 +201,24 @@ jobs:
202201
203202 steps :
204203 - uses : actions/checkout@v5
204+
205205 - name : Set up Go
206206 uses : actions/setup-go@v6
207207 with :
208208 check-latest : true
209209 go-version-file : ' go.mod'
210+
211+ - name : Install NSIS (windows)
212+ if : matrix.os == 'windows-latest'
213+ env :
214+ NSIS_VERSION : ' 3.11'
215+ run : |
216+ Invoke-WebRequest "https://sourceforge.net/projects/nsis/files/NSIS%203/${env:NSIS_VERSION}/nsis-${env:NSIS_VERSION}.zip/download" -UserAgent "PowerShell" -Outfile "./nsis.zip"
217+ Expand-Archive -LiteralPath ./nsis.zip -DestinationPath "${env:ProgramFiles(x86)}\"
218+ Invoke-WebRequest "https://sourceforge.net/projects/nsis/files/NSIS%203/${env:NSIS_VERSION}/nsis-${env:NSIS_VERSION}-strlen_8192.zip/download" -UserAgent "PowerShell" -Outfile "./nsis-8192.zip"
219+ Expand-Archive -Force -LiteralPath ./nsis-8192.zip -DestinationPath "${env:ProgramFiles(x86)}\nsis-${env:NSIS_VERSION}\"
220+ echo "${env:ProgramFiles(x86)}\nsis-${env:NSIS_VERSION}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
221+
210222 - name : Build distro for ${{ matrix.os }}
211223 run : go run build/make.go && go run build/make.go --distro
212224
Original file line number Diff line number Diff line change 1515!define MUI_FINISHPAGE_LINK_LOCATION " https://docs.gauge.org"
1616!define MUI_FINISHPAGE_NOAUTOCLOSE
1717!define MUI_COMPONENTSPAGE_TEXT_COMPLIST " Additional plugins can be installed using the command 'gauge install <plugin>'"
18- ; MUI 1.67 compatible ------
19- !include " MUI.nsh"
2018!include " MUI2.nsh"
2119!include " x64.nsh"
2220!include " winmessages.nsh"
23- !include " FileFunc.nsh" ; For GetOptions
24- !include " WordFunc.nsh"
25- !include " nsDialogs.nsh"
2621
2722!define Explode " !insertmacro Explode"
2823
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
1414)
1515
1616// CurrentGaugeVersion represents the current version of Gauge
17- var CurrentGaugeVersion = & Version {1 , 6 , 20 }
17+ var CurrentGaugeVersion = & Version {1 , 6 , 21 }
1818
1919// BuildMetadata represents build information of current release (e.g, nightly build information)
2020var BuildMetadata = ""
You can’t perform that action at this time.
0 commit comments