Skip to content

Commit

Permalink
Streamline uploads in render tests
Browse files Browse the repository at this point in the history
- Upload only the final PNG files from render tests, omitting intermediate files.
- Restore the latest version of the upload-artifact action.
  • Loading branch information
jstone-lucasfilm committed Mar 23, 2023
1 parent 2626933 commit 1626b93
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1626b93

Please sign in to comment.