From 3ce01a8484e354bf97b94c330da0d785f7f8f4a6 Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Thu, 5 Mar 2026 01:10:27 +0800 Subject: [PATCH] chore(ci): mv will fail due to file alreay exists when mv is used on Windows --- .github/workflows/release-tamagotchi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-tamagotchi.yml b/.github/workflows/release-tamagotchi.yml index 0e669f9d1..e722f7c99 100644 --- a/.github/workflows/release-tamagotchi.yml +++ b/.github/workflows/release-tamagotchi.yml @@ -366,7 +366,7 @@ jobs: - name: Move Signed Artifacts (Manual + Release + Windows Only) if: ${{ github.event_name == 'workflow_dispatch' && !inputs.build_only && inputs.artifacts_only && matrix.os == 'windows-latest' }} run: | - mv apps/stage-tamagotchi/bundle/signed/windows/${{ env.BUNDLE_NAME }} apps/stage-tamagotchi/bundle/${{ env.BUNDLE_NAME }} + Move-Item -Force apps/stage-tamagotchi/bundle/signed/windows/${{ env.BUNDLE_NAME }} apps/stage-tamagotchi/bundle/${{ env.BUNDLE_NAME }} - name: Upload To GitHub Releases (Manual + Overwrite Release) if: ${{ github.event_name == 'workflow_dispatch' && !inputs.build_only && inputs.artifacts_only }} @@ -439,7 +439,7 @@ jobs: - name: Move Signed Artifacts (Automatic + Windows Only) if: ${{ github.event_name == 'release' && matrix.os == 'windows-latest' }} run: | - mv apps/stage-tamagotchi/bundle/signed/windows/${{ env.BUNDLE_NAME }} apps/stage-tamagotchi/bundle/${{ env.BUNDLE_NAME }} + Move-Item -Force apps/stage-tamagotchi/bundle/signed/windows/${{ env.BUNDLE_NAME }} apps/stage-tamagotchi/bundle/${{ env.BUNDLE_NAME }} - name: Upload To GitHub Releases (Automatic) if: ${{ github.event_name == 'release' }}