diff options
| author | luau-project <luau.project@gmail.com> | 2026-08-06 22:27:13 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2026-08-08 11:12:26 -0300 |
| commit | eb41e850eee38b2b6d13ecfbbe091c1fb9b03244 (patch) | |
| tree | 6b722f9fd3e3d5b2cddc9a11563e96e465a77ae0 | |
| parent | 1fc7f77947749249b09df1b0a640d7a0dbaa4a71 (diff) | |
| download | luarocks-eb41e850eee38b2b6d13ecfbbe091c1fb9b03244.tar.gz luarocks-eb41e850eee38b2b6d13ecfbbe091c1fb9b03244.tar.bz2 luarocks-eb41e850eee38b2b6d13ecfbbe091c1fb9b03244.zip | |
fix(ci): use `-L` flag with `curl` to follow redirects
| -rw-r--r-- | .github/workflows/test.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a88fb679..838f3452 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
| @@ -279,7 +279,7 @@ jobs: | |||
| 279 | - name: Download zlib | 279 | - name: Download zlib |
| 280 | if: ${{ matrix.COMPILER == 'vs' && steps.restore-zlib-tarball.outputs.cache-hit != 'true' }} | 280 | if: ${{ matrix.COMPILER == 'vs' && steps.restore-zlib-tarball.outputs.cache-hit != 'true' }} |
| 281 | run: | | 281 | run: | |
| 282 | curl -o "${{ github.workspace }}\zlib-${{ env.LUAROCKS_DEPS_ZLIB_VER }}.tar.gz" ^ | 282 | curl -Lo "${{ github.workspace }}\zlib-${{ env.LUAROCKS_DEPS_ZLIB_VER }}.tar.gz" ^ |
| 283 | "https://github.com/madler/zlib/releases/download/v${{ env.LUAROCKS_DEPS_ZLIB_VER }}/zlib-${{ env.LUAROCKS_DEPS_ZLIB_VER }}.tar.gz" | 283 | "https://github.com/madler/zlib/releases/download/v${{ env.LUAROCKS_DEPS_ZLIB_VER }}/zlib-${{ env.LUAROCKS_DEPS_ZLIB_VER }}.tar.gz" |
| 284 | 284 | ||
| 285 | - name: Save zlib tarball | 285 | - name: Save zlib tarball |
| @@ -436,7 +436,7 @@ jobs: | |||
| 436 | } | 436 | } |
| 437 | 437 | ||
| 438 | # Download the installer | 438 | # Download the installer |
| 439 | curl "--create-dirs" "-o" "${installerName}" "${installerUrl}"; | 439 | curl "--create-dirs" "-Lo" "${installerName}" "${installerUrl}"; |
| 440 | 440 | ||
| 441 | # Validate sha512 checksum | 441 | # Validate sha512 checksum |
| 442 | $downloadedHash = Get-FileHash -Path "${installerName}" -Algorithm "SHA512" | | 442 | $downloadedHash = Get-FileHash -Path "${installerName}" -Algorithm "SHA512" | |
