File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
actions/setup-php-composer Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 2727 tools : ${{ inputs.tools }}
2828 coverage : none
2929
30+ - name : Validate Composer File
31+ shell : bash
32+ run : |
33+ if [ ! -f "plugins/${{ steps.plugin.outputs.slug }}/composer.json" ]; then
34+ echo "Error: composer.json missing in plugins/${{ steps.plugin.outputs.slug }}"
35+ exit 1
36+ fi
37+
3038 - name : Get Composer cache directory
3139 id : composer-cache
3240 shell : bash
41+ working-directory : ${{ inputs.working-directory }}
3342 run : echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
3443
3544 - name : Cache Composer dependencies
Original file line number Diff line number Diff line change 4040 wordpress : " 6.6"
4141 - php : " 8.0"
4242 wordpress : " 6.5"
43- - php : " 7.4"
44- wordpress : " 6.8"
45- - php : " 7.4"
46- wordpress : " 6.7"
47- - php : " 7.4"
48- wordpress : " 6.6"
49- - php : " 7.4"
50- wordpress : " 6.5"
5143 fail-fast : false
5244
5345 steps :
You can’t perform that action at this time.
0 commit comments