Skip to content

Commit

Permalink
Do not rename the prefix manually for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Jun 26, 2024
1 parent c0afbf9 commit cecc6b0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,11 @@ jobs:
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_AR: "C:\\msys64\\mingw64\\bin\\ar.exe"
run: |
cargo fetch
cargo cinstall --profile ${{ matrix.profile }} --destdir="C:\" --offline
- name: Rename cargo-c folder
run: Rename-Item "C:\usr\local" "C:\usr\rav1e-windows-${{ matrix.conf }}-sdk"
cargo cinstall \
--profile ${{ matrix.profile }} \
--destdir="C:\" \
--libdir lib --prefix /usr/rav1e-windows-${{ matrix.conf }}-sdk \
--offline
- name: Copy LICENSE
run: Copy-Item "LICENSE" "C:\usr\rav1e-windows-${{ matrix.conf }}-sdk\LICENSE"
Expand Down

0 comments on commit cecc6b0

Please sign in to comment.