Skip to content

Commit 9c14136

Browse files
committed
fix: Add -Force flag to Copy-Item to prevent conflict error
1 parent 7cd49e6 commit 9c14136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- name: Create release package
7575
run: |
7676
New-Item -ItemType Directory -Path release-package/WeaponSkins/resources/exports -Force
77-
Get-ChildItem -Path build/net10.0 -Exclude exports | Copy-Item -Destination release-package/WeaponSkins/ -Recurse
77+
Get-ChildItem -Path build/net10.0 -Exclude exports | Copy-Item -Destination release-package/WeaponSkins/ -Recurse -Force
7878
Copy-Item -Path build/exports/net10.0/* -Destination release-package/WeaponSkins/resources/exports/ -Recurse
7979
Compress-Archive -Path release-package/WeaponSkins -DestinationPath WeaponSkins-v${{ needs.versioning.outputs.semVer }}.zip
8080

0 commit comments

Comments
 (0)