Skip to content

Commit

Permalink
Update action versions in GitHub CI (AcademySoftwareFoundation#1708)
Browse files Browse the repository at this point in the history
This changelist updates the versions of several actions in GitHub CI, including checkout, setup-python, setup-node, and upload-artifact.
  • Loading branch information
jstone-lucasfilm authored Feb 12, 2024
1 parent d178310 commit ece2292
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:

steps:
- name: Sync Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- name: Install Python ${{ matrix.python }}
if: matrix.python != 'None'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.architecture }}
Expand All @@ -189,7 +189,7 @@ jobs:
- name: Install Node
if: matrix.build_javascript == 'ON'
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'

Expand Down Expand Up @@ -274,34 +274,34 @@ jobs:

- name: Upload Installed Package
if: matrix.python != 'None'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: MaterialX_${{ matrix.name }}
path: build/installed/

- name: Upload Formatted Source
if: matrix.clang_format == 'ON'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: MaterialX_ClangFormat
path: source

- name: Upload Reference Shaders
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.upload_shaders == 'ON'
with:
name: Reference_Shaders_${{ matrix.name }}
path: build/bin/reference/

- name: Upload Renders
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.test_render == 'ON'
with:
name: Renders_${{ matrix.name }}
path: build/render/*.png

- name: Upload Coverage Report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.coverage_analysis == 'ON'
with:
name: MaterialX_Coverage
Expand Down Expand Up @@ -340,7 +340,7 @@ jobs:

- name: Upload JavaScript Package
if: matrix.build_javascript == 'ON'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: MaterialX_JavaScript
path: javascript/build/installed/JavaScript/MaterialX
Expand All @@ -355,10 +355,10 @@ jobs:

steps:
- name: Sync Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11

Expand All @@ -370,7 +370,7 @@ jobs:
echo "filename=$(ls dist)" >> "$GITHUB_OUTPUT"
- name: Upload SDist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: MaterialX_Python_SDist
path: dist/*.tar.gz
Expand All @@ -388,15 +388,15 @@ jobs:

steps:
- name: Sync Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Python 3.${{ matrix.python-minor }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.${{ matrix.python-minor }}

- name: Download Sdist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: MaterialX_Python_SDist
path: sdist
Expand Down Expand Up @@ -429,7 +429,7 @@ jobs:
working-directory: python

- name: Upload Wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: MaterialX_Python_Wheels
name: MaterialX_Python_Wheel_${{ runner.os }}_3_${{ matrix.python-minor }}
path: wheelhouse/*.whl

0 comments on commit ece2292

Please sign in to comment.