File tree 1 file changed +0
-29
lines changed
1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -193,35 +193,6 @@ jobs:
193
193
runs-on : windows-latest
194
194
195
195
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
225
196
- uses : actions/checkout@v4
226
197
- uses : dtolnay/rust-toolchain@stable
227
198
- uses : Swatinem/rust-cache@v2
You can’t perform that action at this time.
0 commit comments