Skip to content

Commit

Permalink
install rustup if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Jan 16, 2025
1 parent b9d3d53 commit 349ae3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ runs:
using: "composite"
steps:
- uses: mhils/workflows/setup-python@v15 # PyO3 wants recent Python on Windows.
- run: which rustup || sudo DEBIAN_FRONTEND=noninteractive apt-get -y install rustup
shell: bash
- run: rustup toolchain install ${{ inputs.rust-version }} --profile minimal ${{ inputs.toolchain-args }}
shell: bash
- run: rustup default ${{ inputs.rust-version }}
Expand Down

0 comments on commit 349ae3b

Please sign in to comment.