From e34e772e47b01169b6f75a4589c056624ea886a4 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 26 Jun 2024 16:06:20 +0200 Subject: [PATCH] Do not rename the prefix manually for windows --- .github/workflows/deploy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4618068594..02ffe563fc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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"