Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Aug 24, 2023
1 parent 94b7786 commit 054b533
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Rust 32bits
if: ${{ matrix.bits == '32' }}
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable-i686-pc-windows-msvc
toolchain: ${{ matrix.bits == '32' && "stable-i686-pc-windows-msvc" || "stable-x86_64-pc-windows-msvc" }}
override: true

- name: Install Rust 64bits
if: ${{ matrix.bits == '64' }}
uses: actions-rs/toolchain@v1
- name: Override toolchain
shell: bash
working-directory: ./bindings/python
run: echo ${{ matrix.bits == '32' && "stable-i686-pc-windows-msvc" || "stable-x86_64-pc-windows-msvc" }} > rust-toolchain

- name: Install Python
uses: actions/setup-python@v4
Expand Down

0 comments on commit 054b533

Please sign in to comment.