Skip to content

Commit e34e772

Browse files
committed
Do not rename the prefix manually for windows
1 parent c0afbf9 commit e34e772

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/deploy.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,11 @@ jobs:
114114
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_AR: "C:\\msys64\\mingw64\\bin\\ar.exe"
115115
run: |
116116
cargo fetch
117-
cargo cinstall --profile ${{ matrix.profile }} --destdir="C:\" --offline
118-
119-
- name: Rename cargo-c folder
120-
run: Rename-Item "C:\usr\local" "C:\usr\rav1e-windows-${{ matrix.conf }}-sdk"
117+
cargo cinstall \
118+
--profile ${{ matrix.profile }} \
119+
--destdir="C:\" \
120+
--libdir lib --prefix /usr/rav1e-windows-${{ matrix.conf }}-sdk \
121+
--offline
121122
122123
- name: Copy LICENSE
123124
run: Copy-Item "LICENSE" "C:\usr\rav1e-windows-${{ matrix.conf }}-sdk\LICENSE"

0 commit comments

Comments
 (0)