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 158c75811a
commit 99bb0e6c34

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