File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ jobs:
191191 runs-on : windows-latest
192192
193193 steps :
194- - name : Upgrade Git for Windows to latest (pre) release
194+ - name : Upgrade Git for Windows to latest stable release
195195 # This upgrades Git to work around https://github.com/GitoxideLabs/gitoxide/issues/1849.
196196 # TODO: Remove this step once the runner image has Git 2.49.0 or higher.
197197 env :
@@ -203,19 +203,18 @@ jobs:
203203 $log = 'setup-log.txt'
204204 # Inno Setup args reference: https://jrsoftware.org/ishelp/index.php?topic=setupcmdline
205205 $arguments = @(
206- '/VERYSILENT',
207- '/SUPPRESSMSGBOXES',
208- '/ALLUSERS',
209- "/LOG=$log",
210- '/NORESTART',
211- '/CLOSEAPPLICATIONS',
212- '/FORCECLOSEAPPLICATIONS'
206+ '/VERYSILENT',
207+ '/SUPPRESSMSGBOXES',
208+ '/ALLUSERS',
209+ "/LOG=$log",
210+ '/NORESTART',
211+ '/CLOSEAPPLICATIONS',
212+ '/FORCECLOSEAPPLICATIONS'
213213 )
214214
215215 mkdir $workingDir | Out-Null
216216 cd $workingDir
217- $newestTag = gh release list --repo $repo --limit 1 --json tagName --jq '.[0].tagName'
218- gh release download $newestTag --repo $repo --pattern $pattern
217+ gh release download --repo $repo --pattern $pattern
219218 $installer = Get-Item $pattern
220219 Start-Process -FilePath $installer -ArgumentList $arguments -NoNewWindow -Wait
221220
You can’t perform that action at this time.
0 commit comments