Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
runs-on: windows-latest

steps:
- name: Upgrade Git for Windows to latest (pre)release
- name: Upgrade Git for Windows to latest stable release
# This upgrades Git to work around https://github.com/GitoxideLabs/gitoxide/issues/1849.
# TODO: Remove this step once the runner image has Git 2.49.0 or higher.
env:
Expand All @@ -203,19 +203,18 @@ jobs:
$log = 'setup-log.txt'
# Inno Setup args reference: https://jrsoftware.org/ishelp/index.php?topic=setupcmdline
$arguments = @(
'/VERYSILENT',
'/SUPPRESSMSGBOXES',
'/ALLUSERS',
"/LOG=$log",
'/NORESTART',
'/CLOSEAPPLICATIONS',
'/FORCECLOSEAPPLICATIONS'
'/VERYSILENT',
'/SUPPRESSMSGBOXES',
'/ALLUSERS',
"/LOG=$log",
'/NORESTART',
'/CLOSEAPPLICATIONS',
'/FORCECLOSEAPPLICATIONS'
)

mkdir $workingDir | Out-Null
cd $workingDir
$newestTag = gh release list --repo $repo --limit 1 --json tagName --jq '.[0].tagName'
gh release download $newestTag --repo $repo --pattern $pattern
gh release download --repo $repo --pattern $pattern
$installer = Get-Item $pattern
Start-Process -FilePath $installer -ArgumentList $arguments -NoNewWindow -Wait

Expand Down
Loading