foundry-rs / foundry-toolchain

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

Unable to install nightly releases #45

Closed 0xJem closed 8 months ago

0xJem commented 8 months ago

Config:

      - name: Install Foundry
        uses: foundry-rs/foundry-toolchain@v1
        with:
          # 2024-02-11
          version: nightly-93f094bfa54111f5689c346206d70ef45b4dd680

Job run output:

Run foundry-rs/foundry-toolchain@v1
  with:
    version: nightly-93f094bfa54111f5689c346[2](https://github.com/Axis-Fi/moonraker/actions/runs/7868299448/job/21518458614?pr=43#step:8:2)06d70ef45b4dd680
    cache: true
  env:
    FOUNDRY_PROFILE: ci
    PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
Downloading Foundry 'nightly-93f094bfa54111f5689c346206d70ef45b4dd680' from: https://github.com/foundry-rs/foundry/releases/download/nightly-93f094bfa54111f5689c346206d70ef45b4dd680/foundry_nightly_linux_amd64.tar.gz
Error: Error: Unexpected HTTP response: 404

This only started happening a few days ago. I updated to the latest nightlies (in case they were deleted), and it still happened. It seems like the URL format is different.

onbjerg commented 8 months ago

The nightlies get pruned every so often, so it is not possible to pin to a nightly for long. The reason you can pin to a specific nightly for a bit is mostly so you can revert to a previous version until a fix for a critical bug is provided.

This is the expected behavior for now, once we stabilize you'll be able to pin to any version you want for as long as you want.