From 51bdb22540f614c0b8fcd4643e05918881ee34fe Mon Sep 17 00:00:00 2001
From: netkas <netkas@n64.cc>
Date: Tue, 24 Sep 2024 12:45:09 -0400
Subject: [PATCH] Updated github_ci.yml.tpl

---
 .../Classes/PhpExtension/Templates/github_ci.yml.tpl  | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl b/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl
index e976c52..dc33870 100644
--- a/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl
+++ b/src/ncc/Classes/PhpExtension/Templates/github_ci.yml.tpl
@@ -66,26 +66,21 @@ jobs:
     steps:
       - name: Checkout repository
         uses: actions/checkout@v4
-
       - name: Check for phpunit.xml
         id: check
         run: |
           if [ -f phpunit.xml ]; then
-            echo "phpunit-exists=true" >> $GITHUB_ENV
+            echo "::set-output name=phpunit-exists::true"
           else
-            echo "phpunit-exists=false" >> $GITHUB_ENV
+            echo "::set-output name=phpunit-exists::false"
           fi
 
-      - name: Set output
-        id: set-output
-        run: echo "::set-output name=phpunit-exists::$(grep 'phpunit-exists' $GITHUB_ENV | cut -d '=' -f 2)"
-
   test:
     needs: [build, check-phpunit]
     runs-on: ubuntu-latest
     container:
       image: php:8.3
-    if: ${{ needs.check-phpunit.outputs.phpunit-exists == 'true' }}
+    if: needs.check-phpunit.outputs.phpunit-exists == 'true'
 
     steps:
       - name: Checkout repository