diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d886bb..c677a40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,8 +61,7 @@ jobs: - name: Set ReportPortal configuration # ReportPortal agent only works for PHP 7.1, 7.2, 7.3 and 7.4 - #if: github.ref_name == 'main' && vars.REPORT_PORTAL_ENABLED == 'true' && contains(fromJson('["7.1", "7.2", "7.3", "7.4"]'), matrix.php) - if: vars.REPORT_PORTAL_ENABLED == 'true' && contains(fromJson('["7.1", "7.2", "7.3", "7.4"]'), matrix.php) + if: github.ref_name == 'main' && vars.REPORT_PORTAL_ENABLED == 'true' && contains(fromJson('["7.1", "7.2", "7.3", "7.4"]'), matrix.php) run: ./tests/reportportal/reportportal_conf.sh env: REPORT_PORTAL_API_KEY: ${{ secrets.REPORT_PORTAL_API_KEY }}