Alternate way to make mv work
@@ -135,8 +135,7 @@ jobs:
cargo build --target x86_64-pc-windows-gnu --release
- name: Rename static lib
run: |
- rm target/x86_64-pc-windows-gnu/release/libpolar-${{runner.os}}.a
- mv target/x86_64-pc-windows-gnu/release/libpolar.a target/x86_64-pc-windows-gnu/release/libpolar-${{runner.os}}.a
+ mv -Force target/x86_64-pc-windows-gnu/release/libpolar.a target/x86_64-pc-windows-gnu/release/libpolar-${{runner.os}}.a
- uses: actions/upload-artifact@v2
with:
name: oso_library
