diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae6b4c798..6eec487d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,12 +97,21 @@ jobs: if: matrix.config.os == 'windows-latest' run: | choco install ninja innosetup - $url = "https://github.com/leafo/moonscript/releases/download/win32-v0.5.0/moonscript-187bac54ee5a7450013e9c38e005a0e671b76f45.zip" + + $moonscripturl = "https://github.com/leafo/moonscript/releases/download/win32-v0.5.0/moonscript-187bac54ee5a7450013e9c38e005a0e671b76f45.zip" mkdir moonscript - Invoke-WebRequest -Uri $url -OutFile ".\moonscript\moonscript.zip" - cd moonscript + Invoke-WebRequest -Uri $moonscripturl -OutFile ".\moonscript\moonscript.zip" + pushd moonscript 7z e moonscript.zip Get-Location | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + popd + + $gettexturl = "https://github.com/mlocati/gettext-iconv-windows/releases/download/v0.21-v1.16/gettext0.21-iconv1.16-static-64.zip" + Invoke-WebRequest -Uri $gettexturl -OutFile ".\gettext.zip" + Expand-Archive ".\gettext.zip" -DestinationPath gettext + pushd gettext/bin + Get-Location | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + popd - name: Install dependencies (MacOS) if: matrix.config.os == 'macos-latest'