There was an error while loading. Please reload this page.
channel
1 parent bbf8657 commit 5c75234Copy full SHA for 5c75234
1 file changed
.github/workflows/sync-flake-lock.yml
@@ -26,7 +26,9 @@ jobs:
26
- name: Sync flake.lock and rust-toolchain.toml from upstream
27
run: |
28
curl https://raw.githubusercontent.com/obeli-sk/obelisk/refs/heads/latest/flake.lock -o flake.lock
29
- curl https://raw.githubusercontent.com/obeli-sk/obelisk/refs/heads/latest/rust-toolchain.toml -o rust-toolchain.toml
+ UPSTREAM=https://raw.githubusercontent.com/obeli-sk/obelisk/refs/heads/latest/rust-toolchain.toml
30
+ CHANNEL=$(curl -fsSL "$UPSTREAM" | grep '^channel =')
31
+ sed -i "s/^channel =.*/$CHANNEL/" rust-toolchain.toml
32
33
- uses: nixbuild/nix-quick-install-action@v34
34
with:
0 commit comments