]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Win64. (#342)
authorNicolas Patry <patry.nicolas@protonmail.com>
Thu, 24 Aug 2023 07:28:59 +0000 (09:28 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Aug 2023 07:28:59 +0000 (09:28 +0200)
.github/workflows/python-release.yml

index e2b16899e9a8cbb5a69a027042247798970630fb..e36203a529072d994feecc4b889de04eb2621195 100644 (file)
@@ -55,19 +55,17 @@ jobs:
           toolchain: stable-i686-pc-windows-msvc
           override: true
 
-      - name: Install Rust 64bits
-        if: ${{ matrix.os == '32' }}
-        uses: actions-rs/toolchain@v1
-        with:
-          toolchain: stable-i686-pc-windows-msvc
-          override: true
-
       - name: Override toolchain
         if: ${{ matrix.os == '32' }}
         shell: bash
         working-directory: ./bindings/python
         run: echo "stable-i686-pc-windows-msvc" > rust-toolchain
 
+      - name: Install Rust 64bits
+        if: ${{ matrix.os == '64' }}
+        uses: actions-rs/toolchain@v1
+
+
       - name: Install Python
         uses: actions/setup-python@v4
         with: