handle the case when source file and target file is the same file

This commit is contained in:
SoftFever 2024-01-25 21:11:27 +08:00
parent 35ab4c645a
commit 0aebd8d002

View file

@ -242,7 +242,7 @@ jobs:
shell: bash
run: |
./BuildLinux.sh -isr
mv ./build/OrcaSlicer_Linux_V${{ env.ver_pure }}.AppImage ./build/OrcaSlicer_Linux_${{ env.ver }}.AppImage
mv -n ./build/OrcaSlicer_Linux_V${{ env.ver_pure }}.AppImage ./build/OrcaSlicer_Linux_${{ env.ver }}.AppImage
chmod +x ./build/OrcaSlicer_Linux_${{ env.ver }}.AppImage
- name: Upload artifacts Ubuntu