@@ -141,11 +141,11 @@ jobs:
141141 target/${{ matrix.target }}/release/rustup-init.exe
142142 retention-days : 7
143143 - name : Acquire the AWS tooling
144- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
144+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
145145 run : |
146146 choco upgrade awscli
147147 - name : Prepare the dist
148- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
148+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
149149 run : |
150150 .\ci\prepare-deploy.ps1
151151 shell : powershell
@@ -298,11 +298,11 @@ jobs:
298298 target/${{ matrix.target }}/release/rustup-init.exe
299299 retention-days : 7
300300 - name : Acquire the AWS tooling
301- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
301+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
302302 run : |
303303 choco upgrade awscli
304304 - name : Prepare the dist
305- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
305+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
306306 run : |
307307 .\ci\prepare-deploy.ps1
308308 shell : powershell
@@ -461,11 +461,11 @@ jobs:
461461 target/${{ matrix.target }}/release/rustup-init.exe
462462 retention-days : 7
463463 - name : Acquire the AWS tooling
464- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
464+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
465465 run : |
466466 choco upgrade awscli
467467 - name : Prepare the dist
468- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
468+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
469469 run : |
470470 .\ci\prepare-deploy.ps1
471471 shell : powershell
@@ -620,12 +620,12 @@ jobs:
620620 target/${{ matrix.target }}/release/rustup-init
621621 retention-days : 7
622622 - name : Ensure that awscli is installed
623- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
623+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
624624 run : |
625625 which aws
626626 aws --version
627627 - name : Prepare the dist
628- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
628+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
629629 run : |
630630 bash ci/prepare-deploy.bash
631631 - name : Deploy build to dev-static dist tree for release team
@@ -784,12 +784,12 @@ jobs:
784784 target/${{ matrix.target }}/release/rustup-init
785785 retention-days : 7
786786 - name : Ensure that awscli is installed
787- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
787+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
788788 run : |
789789 which aws
790790 aws --version
791791 - name : Prepare the dist
792- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
792+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
793793 run : |
794794 bash ci/prepare-deploy.bash
795795 - name : Deploy build to dev-static dist tree for release team
@@ -969,12 +969,12 @@ jobs:
969969 target/${{ matrix.target }}/release/rustup-init
970970 retention-days : 7
971971 - name : Ensure that awscli is installed
972- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
972+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
973973 run : |
974974 which aws
975975 aws --version
976976 - name : Prepare the dist
977- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
977+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
978978 run : |
979979 bash ci/prepare-deploy.bash
980980 - name : Deploy build to dev-static dist tree for release team
@@ -1094,12 +1094,12 @@ jobs:
10941094 target/${{ matrix.target }}/release/rustup-init
10951095 retention-days : 7
10961096 - name : Ensure that awscli is installed
1097- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
1097+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
10981098 run : |
10991099 which aws
11001100 aws --version
11011101 - name : Prepare the dist
1102- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
1102+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
11031103 run : |
11041104 bash ci/prepare-deploy.bash
11051105 - name : Deploy build to dev-static dist tree for release team
@@ -1225,12 +1225,12 @@ jobs:
12251225 target/${{ matrix.target }}/release/rustup-init
12261226 retention-days : 7
12271227 - name : Ensure that awscli is installed
1228- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
1228+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
12291229 run : |
12301230 which aws
12311231 aws --version
12321232 - name : Prepare the dist
1233- if : github.event_name == 'push' && github.ref == 'refs/heads/stable' && matrix.mode == 'release'
1233+ if : github.event_name == 'push' && matrix.mode == 'release' && ( github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
12341234 run : |
12351235 bash ci/prepare-deploy.bash
12361236 - name : Deploy build to dev-static dist tree for release team
0 commit comments