From 1626b93fde07c0987ea178b9778f1d8fbe4142b9 Mon Sep 17 00:00:00 2001 From: Jonathan Stone Date: Wed, 22 Mar 2023 17:39:05 -0700 Subject: [PATCH] Streamline uploads in render tests - Upload only the final PNG files from render tests, omitting intermediate files. - Restore the latest version of the upload-artifact action. --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 843f867bce..141f361e59 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -250,31 +250,31 @@ jobs: - name: Upload Installed Package if: matrix.dynamic_analysis != 'ON' - uses: actions/upload-artifact@v3.1.1 + uses: actions/upload-artifact@v3 with: name: MaterialX_${{ matrix.name }} path: build/installed/ - name: Upload Formatted Source if: matrix.clang_format == 'ON' - uses: actions/upload-artifact@v3.1.1 + uses: actions/upload-artifact@v3 with: name: MaterialX_ClangFormat path: source - name: Upload Reference Shaders - uses: actions/upload-artifact@v3.1.1 + uses: actions/upload-artifact@v3 if: matrix.upload_shaders == 'ON' with: name: Reference_Shaders_${{ matrix.name }} path: build/bin/reference/ - name: Upload Renders - uses: actions/upload-artifact@v3.1.1 + uses: actions/upload-artifact@v3 if: matrix.test_render == 'ON' with: name: Renders_${{ matrix.name }} - path: build/render/ + path: build/render/*.png - name: JavaScript CMake Generate if: matrix.build_javascript == 'ON' @@ -313,7 +313,7 @@ jobs: - name: Upload JavaScript Package if: matrix.build_javascript == 'ON' - uses: actions/upload-artifact@v3.1.1 + uses: actions/upload-artifact@v3 with: name: MaterialX_JavaScript path: javascript/build/installed/JavaScript/MaterialX