From 3dbe87b0fa741d158bc67110dbe2b4e5eb5d8be9 Mon Sep 17 00:00:00 2001 From: KTools2202 <170725916+KTools2202@users.noreply.github.com> Date: Sun, 30 Jun 2024 12:23:53 +1000 Subject: [PATCH] attempt(fix): please just build and test the game --- .github/workflows/build.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be2ed84..2523cb4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,10 +75,11 @@ jobs: checkName: ${{ matrix.testMode }} Test Results coverageOptions: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport;assemblyFilters:+my.assembly.*' - - name: List Workspace Contents + - name: Debug Artifacts Directory + if: always() run: | - echo "Listing workspace contents..." - ls -R + echo "Artifacts Path: ${{ matrix.testMode }}-artifacts" + ls ${{ matrix.testMode }}-artifacts || echo "No artifacts found" - name: Upload Test Results uses: actions/upload-artifact@v3 @@ -99,6 +100,7 @@ jobs: run: | echo "Artifacts Path: ${{ matrix.testMode }}-artifacts" echo "Coverage Path: ${{ steps.tests.outputs.coveragePath }}" + build: name: Build Unity project runs-on: ubuntu-latest @@ -125,6 +127,10 @@ jobs: UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} with: - projectPath: './dist/' + projectPath: dist targetPlatform: StandaloneWindows64 - + + - name: Debug Build Directory + run: | + echo "Build Path: dist" + ls dist || echo "No build artifacts found"