1717jobs :
1818 build :
1919 name : Test Build for Windows
20- if : github.event_name != 'workflow_dispatch'
2120 runs-on : windows-2019
2221
2322 steps :
7978 shell : cmd
8079
8180 - name : Build without Signing
82- if : github.event_name != 'workflow_dispatch'
81+ if : ${{ true }}
8382 run : |
8483 echo %cd%
8584 ls
8988 shell : cmd
9089
9190 - name : Decrypt pfx files
92- if : github.event_name == 'workflow_dispatch'
91+ if : ${{ false }}
9392 run : |
9493 iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
9594 appveyor-tools\secure-file -decrypt $env:GITHUB_WORKSPACE\release_script\windows_only\0a2d0e9821bd184a1d969a1db3630c92-SHA2.pfx.enc -secret $env:PFX_SECRET -salt $env:PFX_SALT -out $env:GITHUB_WORKSPACE\release_script\windows_only\0a2d0e9821bd184a1d969a1db3630c92-SHA2.pfx
10099 PFX_SALT : ${{ secrets.PFX_SALT }}
101100
102101 - name : Build and Sign
103- if : github.event_name == 'workflow_dispatch'
102+ if : ${{ false }}
104103 run : |
105104 python %GITHUB_WORKSPACE%\release_script\make-release.py --no-prompts --pfx-password %PFX_PASS% --pfx-path %GITHUB_WORKSPACE%\release_script\windows_only\0a2d0e9821bd184a1d969a1db3630c92-SHA2.pfx
106105 env :
@@ -110,14 +109,12 @@ jobs:
110109 shell : cmd
111110
112111 - name : Configure AWS credentials from Production account
113- if : github.event_name == 'workflow_dispatch'
114112 uses : aws-actions/configure-aws-credentials@v2
115113 with :
116114 role-to-assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
117115 aws-region : ${{ env.AWS_REGION }}
118116
119117 - name : Store Build on AWS
120- if : github.event_name == 'workflow_dispatch'
121118 run : |
122119 cd $GITHUB_WORKSPACE
123120 ls
@@ -127,6 +124,6 @@ jobs:
127124 echo $GUI_COMMIT_TIME
128125 echo $GUI_VERSION_STRING
129126 echo $CURRENT_BRANCH
130- aws s3 rm s3://openbci-public-gui-v6/latest --recursive --exclude "*" --include "openbcigui_*_macosx.dmg "
131- aws s3 cp $GITHUB_WORKSPACE/. s3://openbci-public-gui-v6/${GUI_VERSION_STRING} --recursive --exclude "*" --include "openbcigui_*_macosx.dmg "
132- aws s3 cp $GITHUB_WORKSPACE/. s3://openbci-public-gui-v6/latest --recursive --exclude "*" --include "openbcigui_*_macosx.dmg "
127+ aws s3 rm s3://openbci-public-gui-v6/latest --recursive --exclude "*" --include "openbcigui_*_windows64.zip "
128+ aws s3 cp $GITHUB_WORKSPACE/. s3://openbci-public-gui-v6/${GUI_VERSION_STRING} --recursive --exclude "*" --include "openbcigui_*_windows64.zip "
129+ aws s3 cp $GITHUB_WORKSPACE/. s3://openbci-public-gui-v6/latest --recursive --exclude "*" --include "openbcigui_*_windows64.zip "
0 commit comments