Skip to content

Commit 35a9950

Browse files
authored
Merge pull request #1920 from EliahKagan/test-fixtures-windows-default
Use runner-provided Git for Windows now that it's 2.49.0
2 parents 65ffe81 + 3501e82 commit 35a9950

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

.github/workflows/ci.yml

-29
Original file line numberDiff line numberDiff line change
@@ -193,35 +193,6 @@ jobs:
193193
runs-on: windows-latest
194194

195195
steps:
196-
- name: Upgrade Git for Windows to latest stable release
197-
# This upgrades Git to work around https://github.com/GitoxideLabs/gitoxide/issues/1849.
198-
# TODO: Remove this step once the runner image has Git 2.49.0 or higher.
199-
env:
200-
GH_TOKEN: ${{ github.token }}
201-
run: |
202-
$workingDir = '~/git-dl'
203-
$repo = 'git-for-windows/git'
204-
$pattern = 'Git-*-64-bit.exe'
205-
$log = 'setup-log.txt'
206-
# Inno Setup args reference: https://jrsoftware.org/ishelp/index.php?topic=setupcmdline
207-
$arguments = @(
208-
'/VERYSILENT',
209-
'/SUPPRESSMSGBOXES',
210-
'/ALLUSERS',
211-
"/LOG=$log",
212-
'/NORESTART',
213-
'/CLOSEAPPLICATIONS',
214-
'/FORCECLOSEAPPLICATIONS'
215-
)
216-
217-
mkdir $workingDir | Out-Null
218-
cd $workingDir
219-
gh release download --repo $repo --pattern $pattern
220-
$installer = Get-Item $pattern
221-
Start-Process -FilePath $installer -ArgumentList $arguments -NoNewWindow -Wait
222-
223-
Get-Content -Path $log -Tail 50
224-
git version
225196
- uses: actions/checkout@v4
226197
- uses: dtolnay/rust-toolchain@stable
227198
- uses: Swatinem/rust-cache@v2

0 commit comments

Comments
 (0)