Skip to content

Commit 818e115

Browse files
authored
Merge pull request #1892 from EliahKagan/run-ci/test-fixtures-windows-stable
Use stable Git for Windows in `test-fixtures-windows`
2 parents 0bf1d5b + ee5571d commit 818e115

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/ci.yml

+9-10
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)