diff --git a/.github/workflows/default.yaml b/.github/workflows/default.yaml index c7cc8d0..d225825 100644 --- a/.github/workflows/default.yaml +++ b/.github/workflows/default.yaml @@ -47,7 +47,7 @@ jobs: - name: Execute PHPUnit tests id: phpunit run: | - if [ "${{ matrix.php-versions }}" = "8.3" && "${{github.ref}}" == "refs/heads/main" && "${{github.event_name}}" == "push" ]; then + if [[ "${{ matrix.php-versions }}" == "8.3" && "${{ github.ref }}" == "refs/heads/main" && "${{ github.event_name }}" == "push" ]]; then vendor/bin/phpunit --coverage-clover coverage.xml echo "generate-coverage-badge=true" >> $GITHUB_OUTPUT else @@ -83,4 +83,4 @@ jobs: publish_branch: image-data github_token: ${{ secrets.GITHUB_TOKEN }} user_name: 'github-actions[bot]' - user_email: 'github-actions[bot]@users.noreply.github.com' \ No newline at end of file + user_email: 'github-actions[bot]@users.noreply.github.com'