mirror of
https://github.com/beekeeper-studio/beekeeper-studio.git
synced 2026-03-13 10:12:54 +08:00
fix(ci): fix Windows artifact cleanup using PowerShell
The bash extglob pattern !(*.exe|*.yml) doesn't work on Windows. Replace npx rimraf with native PowerShell filtering. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
4
.github/workflows/studio-publish.yml
vendored
4
.github/workflows/studio-publish.yml
vendored
@@ -366,8 +366,8 @@ jobs:
|
||||
|
||||
- name: Cleanup artifacts Win
|
||||
if: startsWith(matrix.os.name, 'windows')
|
||||
run: npx rimraf "apps/studio/dist_electron/!(*.exe|*.yml)"
|
||||
continue-on-error: true
|
||||
shell: powershell
|
||||
run: Get-ChildItem apps/studio/dist_electron -File | Where-Object { $_.Extension -notin '.exe','.yml' } | Remove-Item -Force
|
||||
|
||||
|
||||
finalize_mac_yml:
|
||||
|
||||
Reference in New Issue
Block a user