Skip to content

Commit e5ce326

Browse files
Pipeline: update artifact deletion commands to use PowerShell syntax (#338)
1 parent 264b6dd commit e5ce326

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,14 +304,14 @@ jobs:
304304
- name: Delete previous artifact, which may exist due to caching (Windows - MSI)
305305
if: startsWith(matrix.platform, 'windows') && contains(matrix.tauri_bundle, 'msi')
306306
run: |
307-
rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/msi/MindWork AI Studio_*.msi
308-
rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/msi/MindWork AI Studio*msi.zip*
307+
rm -Force runtime/target/${{ matrix.rust_target }}/release/bundle/msi/MindWork AI Studio_*.msi
308+
rm -Force runtime/target/${{ matrix.rust_target }}/release/bundle/msi/MindWork AI Studio*msi.zip*
309309
310310
- name: Delete previous artifact, which may exist due to caching (Windows - NSIS)
311311
if: startsWith(matrix.platform, 'windows') && contains(matrix.tauri_bundle, 'nsis')
312312
run: |
313-
rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/nsis/MindWork AI Studio_*.exe
314-
rm -f runtime/target/${{ matrix.rust_target }}/release/bundle/nsis/MindWork AI Studio*nsis.zip*
313+
rm -Force runtime/target/${{ matrix.rust_target }}/release/bundle/nsis/MindWork AI Studio_*.exe
314+
rm -Force runtime/target/${{ matrix.rust_target }}/release/bundle/nsis/MindWork AI Studio*nsis.zip*
315315
316316
- name: Delete previous artifact, which may exist due to caching (Linux - Debian Package)
317317
if: startsWith(matrix.platform, 'ubuntu') && contains(matrix.tauri_bundle, 'deb')

0 commit comments

Comments
 (0)