Skip to content

Commit 35187b0

Browse files
committed
fix: windows ci
1 parent 241eb1a commit 35187b0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
${{ matrix.asset_name }}-${{ env.VERSION }}.out
116116
117117
build-on-windows:
118-
runs-on: windows-latest
118+
runs-on: windows-2022
119119
continue-on-error: true
120120
strategy:
121121
fail-fast: false
@@ -142,9 +142,8 @@ jobs:
142142
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
143143

144144
- name: build RustPlayer
145-
shell: bash
146145
run: |
147-
$VCPKG_ROOT/vcpkg install ffmpeg:x64-windows-static-md
146+
$env:VCPKG_ROOT\vcpkg install ffmpeg:x64-windows-static-md
148147
cargo build --release
149148
150149
- name: rename

0 commit comments

Comments
 (0)