|
51 | 51 | os: windows-11-arm
|
52 | 52 | run_tests: YES
|
53 | 53 | steps:
|
| 54 | + - name: Ensure that awscli is installed |
| 55 | + # if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') |
| 56 | + run: | |
| 57 | + Get-Command aws |
| 58 | + aws --version |
54 | 59 | - uses: actions/checkout@v4
|
55 | 60 | # v2 defaults to a shallow checkout, but we need at least to the previous tag
|
56 | 61 | with:
|
@@ -154,11 +159,6 @@ jobs:
|
154 | 159 | path: |
|
155 | 160 | target/${{ matrix.target }}/release/rustup-init.exe
|
156 | 161 | retention-days: 7
|
157 |
| - - name: Ensure that awscli is installed |
158 |
| - if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') |
159 |
| - run: | |
160 |
| - Get-Command aws |
161 |
| - aws --version |
162 | 162 | - name: Prepare the dist
|
163 | 163 | if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
|
164 | 164 | run: |
|
@@ -223,6 +223,11 @@ jobs:
|
223 | 223 | os: windows-11-arm
|
224 | 224 | run_tests: YES
|
225 | 225 | steps:
|
| 226 | + - name: Ensure that awscli is installed |
| 227 | + # if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') |
| 228 | + run: | |
| 229 | + Get-Command aws |
| 230 | + aws --version |
226 | 231 | - uses: actions/checkout@v4
|
227 | 232 | # v2 defaults to a shallow checkout, but we need at least to the previous tag
|
228 | 233 | with:
|
@@ -326,11 +331,6 @@ jobs:
|
326 | 331 | path: |
|
327 | 332 | target/${{ matrix.target }}/release/rustup-init.exe
|
328 | 333 | retention-days: 7
|
329 |
| - - name: Ensure that awscli is installed |
330 |
| - if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') |
331 |
| - run: | |
332 |
| - Get-Command aws |
333 |
| - aws --version |
334 | 334 | - name: Prepare the dist
|
335 | 335 | if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
|
336 | 336 | run: |
|
@@ -401,6 +401,11 @@ jobs:
|
401 | 401 | mingwdir: mingw32 # skip-pr skip-master
|
402 | 402 | gcc: i686-w64-mingw32-gcc # skip-pr skip-master
|
403 | 403 | steps:
|
| 404 | + - name: Ensure that awscli is installed |
| 405 | + # if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') |
| 406 | + run: | |
| 407 | + Get-Command aws |
| 408 | + aws --version |
404 | 409 | - uses: actions/checkout@v4
|
405 | 410 | # v2 defaults to a shallow checkout, but we need at least to the previous tag
|
406 | 411 | with:
|
@@ -504,11 +509,6 @@ jobs:
|
504 | 509 | path: |
|
505 | 510 | target/${{ matrix.target }}/release/rustup-init.exe
|
506 | 511 | retention-days: 7
|
507 |
| - - name: Ensure that awscli is installed |
508 |
| - if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master') |
509 |
| - run: | |
510 |
| - Get-Command aws |
511 |
| - aws --version |
512 | 512 | - name: Prepare the dist
|
513 | 513 | if: github.event_name == 'push' && matrix.mode == 'release' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/master')
|
514 | 514 | run: |
|
|
0 commit comments