diff --git a/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl b/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl index 39cb01e..4e7f45a 100644 --- a/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl +++ b/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl @@ -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 }} \ No newline at end of file