Updated workflow

This commit is contained in:
netkas 2024-09-24 00:34:40 -04:00
parent b41b8465f1
commit 6cd05ab051

View file

@ -64,25 +64,12 @@ jobs:
runs-on: ubuntu-latest
container:
image: php:8.3
if: ${{ exists('phpunit.xml') }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check for phpunit.xml
id: file_check
run: |
if [ -f phpunit.xml ]; then
echo "phpunit.xml exists"
else
echo "phpunit.xml does not exist"
exit 0
fi
- name: Skip if no phpunit.xml
if: steps.file_check.outcome == 'success' && steps.file_check.conclusion == 'skipped'
run: exit 0
- name: Download build artifacts
uses: actions/download-artifact@v4
with: