File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121
2222 - name : Check existence of composer.json file
2323 id : check_composer_file
24- uses : andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3
25- with :
26- files : " composer.json"
24+ run : echo "files_exists=$(test -f composer.json && echo true || echo false)" >> "$GITHUB_OUTPUT"
2725
2826 - name : Set up PHP environment
2927 if : steps.check_composer_file.outputs.files_exists == 'true'
3836
3937 - name : Install Composer dependencies & cache dependencies
4038 if : steps.check_composer_file.outputs.files_exists == 'true'
41- uses : ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3
39+ uses : ramsey/composer-install@a35c6ebd3d08125aaf8852dff361e686a1a67947 # v3
4240 env :
4341 COMPOSER_ROOT_VERSION : dev-${{ github.event.repository.default_branch }}
4442 with :
You can’t perform that action at this time.
0 commit comments