Skip to content

Commit a668e13

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

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 4 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
@@ -137,14 +137,13 @@ jobs:
137137
- uses: Swatinem/rust-cache@v2
138138

139139
- name: setup vcpkg (do not install any package)
140-
uses: lukka/run-vcpkg@v10
140+
uses: lukka/run-vcpkg@v11
141141
with:
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+
vcpkg install ffmpeg:x64-windows-static-md
148147
cargo build --release
149148
150149
- name: rename

0 commit comments

Comments
 (0)