mirror of
https://github.com/composer/composer
synced 2025-05-08 16:17:37 +00:00
Make the Composer self-update succeed by using sudo
This commit is contained in:
parent
628730ba34
commit
42d760fb51
1 changed files with 5 additions and 0 deletions
5
.github/workflows/continuous-integration.yml
vendored
5
.github/workflows/continuous-integration.yml
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue