From 53e31363f549c1ee58269aa1eee67c7f9f62b315 Mon Sep 17 00:00:00 2001 From: lazymio Date: Tue, 12 Apr 2022 22:39:44 +0200 Subject: [PATCH] Fix windows build for rust --- .github/workflows/Crate-publishing.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Crate-publishing.yml b/.github/workflows/Crate-publishing.yml index 1ea7af45..f8441735 100644 --- a/.github/workflows/Crate-publishing.yml +++ b/.github/workflows/Crate-publishing.yml @@ -55,11 +55,11 @@ jobs: override: true default: true - - name: '🛠️ Add msbuild to PATH' + - name: '🛠️ Activate Developer Command Prompt' if: contains(matrix.config.os, 'win') - uses: microsoft/setup-msbuild@v1.0.3 + uses: ilammy/msvc-dev-cmd@v1 with: - vs-version: '16.5' + arch: ${{ matrix.config.arch }} - name: '🛠️ Win build dependencies' if: contains(matrix.config.os, 'win')