From 1ddb0421756e93a416b8d4d4dbfba429eabe0276 Mon Sep 17 00:00:00 2001 From: netkas Date: Tue, 24 Sep 2024 00:30:09 -0400 Subject: [PATCH] Updated github_ci.yml.tpl --- .../Classes/PhpExtension/Templates/github_ci.yml.tpl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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