Skip to content

Commit

Permalink
github actions: fix references to rust_channel variable
Browse files Browse the repository at this point in the history
Use `${{matrix.rust_channel}}` not plain `{{rust_channel}}`.
  • Loading branch information
fitzgen authored May 18, 2020
1 parent ffa4596 commit 44183f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -- -y
- name: Install rust channel
run: |
rustup install ${{rust_channel}}
rustup default ${{rust_channel}}
rustup install ${{matrix.rust_channel}}
rustup default ${{matrix.rust_channel}}
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down

0 comments on commit 44183f4

Please sign in to comment.