Make the Composer self-update succeed by using sudo
parent
628730ba34
commit
42d760fb51
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue