comparison .github/workflows/build.yml @ 61:61fa41e1678f v1.2.2

curl to PowerShell tools, favor zip file over tar.xz
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Thu, 21 Jul 2022 01:22:47 -0400
parents 06d8f805e8f0
children 495a0733b2c0
comparison
equal deleted inserted replaced
60:06d8f805e8f0 61:61fa41e1678f
15 path: C:\MinGW 15 path: C:\MinGW
16 key: MinGW 16 key: MinGW
17 17
18 - name: Setup MinGW 18 - name: Setup MinGW
19 run: | 19 run: |
20 curl -L -o mingw-get.tar.xz "https://osdn.net/dl/mingw/mingw-get-0.6.3-mingw32-pre-20170905-1-bin.tar.xz" 20 Invoke-WebRequest -OutFile mingw-get.zip "https://osdn.net/dl/mingw/mingw-get-0.6.3-mingw32-pre-20170905-1-bin.zip" -UserAgent "curl/7.55.1"
21 mkdir C:\MinGW 21 Expand-Archive -Path mingw-get.zip -DestinationPath C:\MinGW
22 tar xvf mingw-get.tar.xz -C C:\MinGW 22 Remove-Item -Path mingw-get.zip
23 C:\MinGW\bin\mingw-get.exe install mingw32-base-bin 23 C:\MinGW\bin\mingw-get.exe install mingw32-base-bin
24 shell: pwsh 24 shell: pwsh
25 25
26 - uses: actions/checkout@v2 26 - uses: actions/checkout@v2
27 27