|
16 | 16 | # Windows install must happen on the same worker size as subsequent jobs. |
17 | 17 | # Larger workers use different drive (C: instead of D:) to check out project and NPM installation |
18 | 18 | # creates file system links that include drive letter. |
19 | | - os: [ubuntu-latest, macos-latest, amplify-backend_windows-latest_8-core] |
| 19 | + # Changing between standard and custom workers requires full install cache invalidation |
| 20 | + os: [ubuntu-latest, macos-latest, windows-latest] |
20 | 21 | runs-on: ${{ matrix.os }} |
21 | 22 | steps: |
22 | 23 | - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # version 3.6.0 |
|
35 | 36 | - build |
36 | 37 | strategy: |
37 | 38 | matrix: |
38 | | - os: [ubuntu-latest, macos-latest, amplify-backend_windows-latest_8-core] |
| 39 | + os: [ubuntu-latest, macos-latest, windows-latest] |
39 | 40 | runs-on: ${{ matrix.os }} |
40 | 41 | steps: |
41 | 42 | - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # version 3.6.0 |
@@ -131,12 +132,7 @@ jobs: |
131 | 132 | # will finish running other test matrices even if one fails |
132 | 133 | fail-fast: false |
133 | 134 | matrix: |
134 | | - os: |
135 | | - [ |
136 | | - ubuntu-latest, |
137 | | - macos-latest-xl, |
138 | | - amplify-backend_windows-latest_8-core, |
139 | | - ] |
| 135 | + os: [ubuntu-latest, macos-latest-xl, windows-latest] |
140 | 136 | runs-on: ${{ matrix.os }} |
141 | 137 | timeout-minutes: 25 |
142 | 138 | needs: |
@@ -170,7 +166,7 @@ jobs: |
170 | 166 | # will finish running other test matrices even if one fails |
171 | 167 | fail-fast: false |
172 | 168 | matrix: |
173 | | - os: [ubuntu-latest, macos-latest, amplify-backend_windows-latest_8-core] |
| 169 | + os: [ubuntu-latest, macos-latest, windows-latest] |
174 | 170 | pkg-manager: [npm, yarn-classic, yarn-modern, pnpm] |
175 | 171 | node-version: [20] |
176 | 172 | env: |
|
0 commit comments