diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d322bd937..41aea833f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -68,6 +68,11 @@ jobs: steps: - name: "Update to latest Composer snapshot" + if: "!startsWith(matrix.os, 'windows')" + run: "sudo composer self-update --snapshot" + + - name: "Update to latest Composer snapshot on Windows" + if: "startsWith(matrix.os, 'windows')" run: "composer self-update --snapshot" - name: "Checkout"