foundry-rs / foundry-toolchain

GitHub action to install Foundry
Apache License 2.0
225 stars 92 forks source link

Sudden 404 running this action #12

Closed EdNoepel closed 2 years ago

EdNoepel commented 2 years ago

Have been using this action for several months. Here's my config:

      - name: Install Foundry
        uses: foundry-rs/foundry-toolchain@v1
        with:
          version: nightly

Today, all builds started erroring out with this in logs:

2022-08-10T23:53:09.1613407Z ##[group]Run foundry-rs/foundry-toolchain@v1
2022-08-10T23:53:09.1613645Z with:
2022-08-10T23:53:09.1613815Z   version: nightly
2022-08-10T23:53:09.1614005Z ##[endgroup]
2022-08-10T23:53:09.7820830Z ##[error]Error: Unexpected HTTP response: 404

Rerun with debug logging, and found this:

Run foundry-rs/foundry-toolchain@v1
##[debug]Downloading https://github.com/gakonst/foundry/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz
##[debug]Destination /home/runner/work/_temp/b4fac0c4-7268-4a4f-b232-bbd68e7f2f9f
##[debug]Failed to download from "https://github.com/gakonst/foundry/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz". Code(404) Message(Not Found)
Error: Error: Unexpected HTTP response: 404
##[debug]Node Action run completed with exit code 1

That repo redirects to foundry-rs, but that link is unreachable. Is there a new download link for the binary?

onbjerg commented 2 years ago

https://github.com/foundry-rs/foundry-toolchain/issues/11#issuecomment-1211287749