@@ -200,6 +200,10 @@ jobs:
200200 run : swift --version
201201 - name : Checkout repository
202202 uses : actions/checkout@v4
203+ if : ${{ matrix.os_version != 'amazonlinux2' }}
204+ - name : Checkout repository
205+ uses : actions/checkout@v2
206+ if : ${{ matrix.os_version == 'amazonlinux2' }}
203207 - name : Provide token
204208 if : ${{ inputs.needs_token }}
205209 run : |
@@ -232,6 +236,10 @@ jobs:
232236 run : swift --version
233237 - name : Checkout repository
234238 uses : actions/checkout@v4
239+ if : ${{ matrix.os_version != 'amazonlinux2' }}
240+ - name : Checkout repository
241+ uses : actions/checkout@v2
242+ if : ${{ matrix.os_version == 'amazonlinux2' }}
235243 - name : Provide token
236244 if : ${{ inputs.needs_token }}
237245 run : |
@@ -272,6 +280,10 @@ jobs:
272280 run : swift --version
273281 - name : Checkout repository
274282 uses : actions/checkout@v4
283+ if : ${{ matrix.os_version != 'amazonlinux2' }}
284+ - name : Checkout repository
285+ uses : actions/checkout@v2
286+ if : ${{ matrix.os_version == 'amazonlinux2' }}
275287 - name : Provide token
276288 if : ${{ inputs.needs_token }}
277289 run : |
0 commit comments