Updated github_ci.yml.tpl
This commit is contained in:
parent
093e3341e1
commit
1ddb042175
1 changed files with 6 additions and 5 deletions
|
@ -73,14 +73,15 @@ jobs:
|
|||
id: file_check
|
||||
run: |
|
||||
if [ -f phpunit.xml ]; then
|
||||
echo "::set-output name=exists::true"
|
||||
echo "phpunit.xml exists"
|
||||
else
|
||||
echo "::set-output name=exists::false"
|
||||
echo "phpunit.xml does not exist"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
- name: Skip if no phpunit.xml
|
||||
if: steps.file_check.outputs.exists == 'false'
|
||||
run: exit 78
|
||||
if: steps.file_check.outcome == 'success' && steps.file_check.conclusion == 'skipped'
|
||||
run: exit 0
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
|
@ -155,4 +156,4 @@ jobs:
|
|||
files: |
|
||||
%ASSEMBLY.NAME%_build/%ASSEMBLY.PACKAGE%.ncc
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Reference in a new issue