changeset 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
files .github/workflows/build.yml
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/build.yml	Thu Jul 21 01:00:50 2022 -0400
+++ b/.github/workflows/build.yml	Thu Jul 21 01:22:47 2022 -0400
@@ -17,9 +17,9 @@
 
     - name: Setup MinGW
       run: |
-        curl -L -o mingw-get.tar.xz "https://osdn.net/dl/mingw/mingw-get-0.6.3-mingw32-pre-20170905-1-bin.tar.xz"
-        mkdir C:\MinGW
-        tar xvf mingw-get.tar.xz -C C:\MinGW
+        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"
+        Expand-Archive -Path mingw-get.zip -DestinationPath C:\MinGW
+        Remove-Item -Path mingw-get.zip
         C:\MinGW\bin\mingw-get.exe install mingw32-base-bin
       shell: pwsh