diff --git a/.github/workflows/ncc_workflow.yml b/.github/workflows/ncc_workflow.yml index 2e19673..4adb445 100644 --- a/.github/workflows/ncc_workflow.yml +++ b/.github/workflows/ncc_workflow.yml @@ -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: | OptsLib_build/net.nosial.optslib.ncc env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 6a8267d..07fc476 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ build/ /.idea/gbrowser_project.xml +