Răsfoiți Sursa

update all actions

-updated all actions that were causing issues
-changed macos to 13 instead of latest until file issue is sorted
marauder2k7 1 an în urmă
părinte
comite
673f983404

+ 0 - 23
.github/actions/test-results/action.yml

@@ -1,23 +0,0 @@
-name: Build Torque Test Report
-description: Upload Torques unit test artifact.
-inputs:
-    name:
-        description: The name of the unit test.
-        default: "${{github.job}}"
-    artifact-name:
-        description: The name of the artifact.
-        required: true
-    path:
-        description: The path to the upload.
-        required: true
-        default: "**/My Projects/Torque3D/game/test_detail.xml"
-runs:
-  using: "composite"
-  steps:
-    - name: Test Reporter
-      uses: phoenix-actions/test-reporting@v12
-      with:
-        artifact: ${{inputs.artifact-name}}
-        name: ${{inputs.name}}
-        path: ${{inputs.path}}
-        reporter: java-junit 

+ 3 - 2
.github/actions/upload-artifact/action.yml

@@ -7,13 +7,14 @@ inputs:
     path:
         description: The path to the upload.
         required: true
-        default: "**/My Projects/Torque3D/game/test_detail.xml"
+        default: "Torque3D/My Projects/Torque3D/game/test_detail.xml"
 runs:
     using: "composite"
     steps:
       - name: Upload Torque Test Report
-        uses: actions/upload-artifact@v3.1.2
+        uses: actions/upload-artifact@v4
         with:
             name: ${{inputs.name}}
             path: ${{inputs.path}}
             retention-days: 1
+            overwrite: true

+ 2 - 2
.github/workflows/build-linux-gcc.yml

@@ -14,7 +14,6 @@ concurrency:
     cancel-in-progress: true
 jobs:
     build-linux:
-        if: github.repository == 'TorqueGameEngines/Torque3D'
         name: ${{matrix.config.name}}
         runs-on: ubuntu-latest
         strategy:
@@ -65,7 +64,7 @@ jobs:
                 
 
             - name: Configure, Build & Install
-              uses: threeal/cmake-action@v1.2.0
+              uses: threeal/cmake-action@v1.3.0
               with:
                 source-dir: ${{github.workspace}}
                 build-dir: ${{github.workspace}}/build
@@ -85,3 +84,4 @@ jobs:
               uses: ./.github/actions/upload-artifact
               with:
                 name: torque3dLinuxGCCUnitTest
+                path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml"

+ 3 - 3
.github/workflows/build-macos-clang.yml

@@ -14,9 +14,8 @@ concurrency:
     cancel-in-progress: true
 jobs:
     build-linux:
-        if: github.repository == 'TorqueGameEngines/Torque3D'
         name: ${{matrix.config.name}}
-        runs-on: macos-latest
+        runs-on: macos-13
         strategy:
             fail-fast: false
             matrix:
@@ -46,7 +45,7 @@ jobs:
                 cmake --version
 
             - name: Configure, Build & Install
-              uses: threeal/cmake-action@v1.2.0
+              uses: threeal/cmake-action@v1.3.0
               with:
                 source-dir: ${{github.workspace}}
                 build-dir: ${{github.workspace}}/build
@@ -66,3 +65,4 @@ jobs:
               uses: ./.github/actions/upload-artifact
               with:
                 name: torque3dMacOSXCLANGUnitTest
+                path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml"

+ 2 - 2
.github/workflows/build-windows-msvc.yml

@@ -9,7 +9,6 @@ concurrency:
     cancel-in-progress: true
 jobs:
     build-windows:
-        if: github.repository == 'TorqueGameEngines/Torque3D'
         name: ${{matrix.config.name}}
         runs-on: windows-latest
         strategy:
@@ -42,7 +41,7 @@ jobs:
                 cmd "${{matrix.config.environment_script}}"
 
             - name: Configure, Build & Install
-              uses: threeal/cmake-action@v1.2.0
+              uses: threeal/cmake-action@v1.3.0
               with:
                 source-dir: ${{github.workspace}}
                 build-dir: ${{github.workspace}}/build
@@ -62,3 +61,4 @@ jobs:
               uses: ./.github/actions/upload-artifact
               with:
                 name: torque3dWindowsMSVCUnitTest
+                path: "${{github.workspace}}/My Projects/Torque3D/game/test_detail.xml"

+ 3 - 5
.github/workflows/test-results-linux.yml

@@ -24,7 +24,7 @@ jobs:
               
         steps:
             - name: Download Linux Test Report
-              uses: dawidd6/action-download-artifact@v2
+              uses: dawidd6/action-download-artifact@v3
               with:
                 path: Linux
                 name: ${{matrix.config.artifact-name}}
@@ -32,10 +32,8 @@ jobs:
                 run_id: ${{ github.event.workflow_run.id }}
 
             - name: Test Reporter
-              uses: phoenix-actions/test-reporting@v12
+              uses: phoenix-actions/test-reporting@v14
               with:
-                artifact: ${{matrix.config.artifact-name}}
                 name: ${{matrix.config.name}}
-                path: "**/My Projects/Torque3D/game/test_detail.xml"
+                path: Linux/*.xml
                 reporter: java-junit
-                output-to: 'checks'

+ 4 - 6
.github/workflows/test-results-mac.yml

@@ -18,13 +18,13 @@ jobs:
               config:
               - {
                   name: "Mac Test Results",
-                  runos: macos-latest,
+                  runos: macos-13,
                   artifact-name: "torque3dMacOSXCLANGUnitTest"
                 }
               
         steps:
             - name: Download Mac Test Report
-              uses: dawidd6/action-download-artifact@v2
+              uses: dawidd6/action-download-artifact@v3
               with:
                 path: macOS
                 name: ${{matrix.config.artifact-name}}
@@ -32,10 +32,8 @@ jobs:
                 run_id: ${{ github.event.workflow_run.id }}
 
             - name: Test Reporter
-              uses: phoenix-actions/test-reporting@v12
+              uses: phoenix-actions/test-reporting@v14
               with:
-                artifact: ${{matrix.config.artifact-name}}
                 name: ${{matrix.config.name}}
-                path: "**/My Projects/Torque3D/game/test_detail.xml"
+                path: macOS/*.xml
                 reporter: java-junit
-                output-to: 'checks'

+ 3 - 5
.github/workflows/test-results-windows.yml

@@ -24,7 +24,7 @@ jobs:
 
         steps:
             - name: Download Windows Test Report
-              uses: dawidd6/action-download-artifact@v2
+              uses: dawidd6/action-download-artifact@v3
               with:
                 path: Windows
                 name: ${{matrix.config.artifact-name}}
@@ -32,10 +32,8 @@ jobs:
                 run_id: ${{ github.event.workflow_run.id }}
 
             - name: Test Reporter
-              uses: phoenix-actions/test-reporting@v12
+              uses: phoenix-actions/test-reporting@v14
               with:
-                artifact: ${{matrix.config.artifact-name}}
                 name: ${{matrix.config.name}}
-                path: "**/My Projects/Torque3D/game/test_detail.xml"
+                path: Windows/*.xml
                 reporter: java-junit
-                output-to: 'checks'