Updated ci.yml
This commit is contained in:
parent
26d2b0acd8
commit
6eb1f68f98
1 changed files with 13 additions and 0 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -69,6 +69,19 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check for phpunit.xml
|
||||
id: file_check
|
||||
run: |
|
||||
if [ -f phpunit.xml ]; then
|
||||
echo "::set-output name=exists::true"
|
||||
else
|
||||
echo "::set-output name=exists::false"
|
||||
fi
|
||||
|
||||
- name: Skip if no phpunit.xml
|
||||
if: steps.file_check.outputs.exists == 'false'
|
||||
run: exit 78
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue