Skip to content

Commit bdf0cbf

Browse files
committed
Fix S3 rm command in WIndows Build Deploy Action
1 parent 8fe58b3 commit bdf0cbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/windows_build_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ jobs:
144144
echo Branch Folder: %S3_BRANCH_FOLDER%
145145
set S3_LATEST_FOLDER=s3://openbci-public-gui-v7/latest
146146
echo Latest Folder: %S3_LATEST_FOLDER%
147-
aws s3 rm %S3_LATEST_FOLDER% --recursive
148-
aws s3 rm %S3_BRANCH_FOLDER% --recursive
147+
aws s3 rm %S3_LATEST_FOLDER% --recursive --exclude "*" --include "*.msi"
148+
aws s3 rm %S3_BRANCH_FOLDER% --recursive --exclude "*" --include "*.msi"
149149
aws s3 cp . %S3_BRANCH_FOLDER% --recursive --exclude "*" --include "*.msi"
150150
aws s3 cp . %S3_LATEST_FOLDER% --recursive --exclude "*" --include "*.msi"
151151
env:

0 commit comments

Comments
 (0)