File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,12 +137,17 @@ jobs:
137137
138138 - name : Store Build on AWS
139139 run : |
140- cd ${{ github.workspace }}
140+ cd ${{ env.msi-path }}
141141 ls
142142 echo "${{ steps.branch-name.outputs.head_ref_branch }}"
143143 set S3_BRANCH_FOLDER=s3://openbci-public-gui-v7/${{ steps.branch-name.outputs.head_ref_branch }}
144- echo %S3_BRANCH_FOLDER%
145- aws s3 rm s3://openbci-public-gui-v7/latest --recursive --exclude "*" --include "openbcigui_*_windows64.zip"
146- aws s3 cp ${{ github.workspace }}/. %S3_BRANCH_FOLDER% --recursive --exclude "*" --include "openbcigui_*_windows64.zip"
147- aws s3 cp ${{ github.workspace }}/. s3://openbci-public-gui-v7/latest --recursive --exclude "*" --include "openbcigui_*_windows64.zip"
144+ echo Branch Folder: %S3_BRANCH_FOLDER%
145+ set S3_LATEST_FOLDER=s3://openbci-public-gui-v7/latest
146+ echo Latest Folder: %S3_LATEST_FOLDER%
147+ aws s3 rm %S3_LATEST_FOLDER% --recursive
148+ aws s3 rm %S3_BRANCH_FOLDER% --recursive
149+ aws s3 cp . %S3_BRANCH_FOLDER% --recursive --exclude "*" --include "*.msi"
150+ aws s3 cp . %S3_LATEST_FOLDER% --recursive --exclude "*" --include "*.msi"
151+ env :
152+ msi-path : ${{ github.workspace }}\release\wix\bin\Release\en-US\
148153 shell : cmd
You can’t perform that action at this time.
0 commit comments