File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ jobs:
191
191
runs-on : windows-latest
192
192
193
193
steps :
194
- - name : Upgrade Git for Windows to latest (pre) release
194
+ - name : Upgrade Git for Windows to latest stable release
195
195
# This upgrades Git to work around https://github.com/GitoxideLabs/gitoxide/issues/1849.
196
196
# TODO: Remove this step once the runner image has Git 2.49.0 or higher.
197
197
env :
@@ -203,19 +203,18 @@ jobs:
203
203
$log = 'setup-log.txt'
204
204
# Inno Setup args reference: https://jrsoftware.org/ishelp/index.php?topic=setupcmdline
205
205
$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'
213
213
)
214
214
215
215
mkdir $workingDir | Out-Null
216
216
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
219
218
$installer = Get-Item $pattern
220
219
Start-Process -FilePath $installer -ArgumentList $arguments -NoNewWindow -Wait
221
220
You can’t perform that action at this time.
0 commit comments