Skip to content

Commit

Permalink
add instruction for foundry-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
zerosnacks committed Jan 14, 2025
1 parent c40aab7 commit 4243e71
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion src/announcements.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,30 @@ foundryup --use stable
foundryup --use 0.3.0
```

#### How do I configure `foundry-toolchain`?

The `foundry-toolchain` GitHub Action will use the latest `stable` release by default.

If you would prefer to use a different release you can set the `version` key:

```yml
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: <version>
```
e.g.
```yml
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
```
#### I prefer using nightly builds.
You are still able to receive the latest nightly builds by running `foundryup --install nightly`
You are still able to receive the latest `nightly` builds by running `foundryup --install nightly`

**Be cautious — nightly builds may include breaking changes that are difficult to debug without context.**

0 comments on commit 4243e71

Please sign in to comment.