fix: make composer.lock removal conditional
This commit is contained in:
parent
7cc28d1e4e
commit
29751dda93
1 changed files with 2 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
name: Build
|
||||
|
||||
on:
|
||||
|
|
@ -26,7 +27,7 @@ jobs:
|
|||
|
||||
- name: Run composer install if composer.json exists
|
||||
run: |
|
||||
rm composer.lock
|
||||
[ -f composer.lock ] && rm composer.lock
|
||||
composer validate --no-check-publish
|
||||
|
||||
- name: Set up Node.js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue