Skip to content

Commit

Permalink
update msvc path
Browse files Browse the repository at this point in the history
  • Loading branch information
kerneltravel committed Sep 21, 2023
1 parent 4c43040 commit ecf9a84
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,8 @@ jobs:
env:
vc_arch: ${{ matrix.msvc_arch }}
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" %vc_arch%
- name: cargo
uses: actions-rs/cargo@v1
with:
command: build

call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %vc_arch%
cargo build
# tag 打包
- name: package
if: startsWith(github.event.ref, 'refs/tags/')
Expand Down

0 comments on commit ecf9a84

Please sign in to comment.