update all actions

-updated all actions that were causing issues
-changed macos to 13 instead of latest until file issue is sorted
This commit is contained in:
marauder2k7 2024-04-28 21:14:26 +01:00
parent 4e88c4c050
commit 673f983404
8 changed files with 20 additions and 48 deletions

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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'

View file

@ -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'

View file

@ -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'