Mercurial > msvpvf
comparison .github/workflows/build.yml @ 62:495a0733b2c0
Check if MinGW directory exists before unzipping
| author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
|---|---|
| date | Thu, 21 Jul 2022 01:49:39 -0400 |
| parents | 61fa41e1678f |
| children | 03b1a105d70e |
comparison
equal
deleted
inserted
replaced
| 61:61fa41e1678f | 62:495a0733b2c0 |
|---|---|
| 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 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" | 20 if (!(Test-Path "C:\MinGW")) { |
| 21 Expand-Archive -Path mingw-get.zip -DestinationPath C:\MinGW | 21 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" |
| 22 Remove-Item -Path mingw-get.zip | 22 Expand-Archive -Path mingw-get.zip -DestinationPath C:\MinGW |
| 23 C:\MinGW\bin\mingw-get.exe install mingw32-base-bin | 23 Remove-Item -Path mingw-get.zip |
| 24 C:\MinGW\bin\mingw-get.exe install mingw32-base-bin | |
| 25 } | |
| 24 shell: pwsh | 26 shell: pwsh |
| 25 | 27 |
| 26 - uses: actions/checkout@v2 | 28 - uses: actions/checkout@v2 |
| 27 | 29 |
| 28 - name: make | 30 - name: make |
