-
-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: Add a config.json file for deps versions #1968
base: master
Are you sure you want to change the base?
Conversation
@@ -29,6 +29,9 @@ inputs: | |||
usd_version: | |||
description: 'Version of usd to build' | |||
required: false | |||
vtk_version: | |||
description: 'Version of vtk to build' | |||
required: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should have a default or be required
inputs: | ||
vtk_version: | ||
description: 'Version of vtk to build' | ||
required: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should have a default or be required
@@ -8,7 +8,6 @@ inputs: | |||
vtk_version: | |||
description: 'VTK version' | |||
required: false | |||
default: 'commit' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should have a default or be required
@@ -31,6 +31,9 @@ inputs: | |||
usd_version: | |||
description: 'Version of usd to build' | |||
required: false | |||
vtk_version: | |||
description: 'Version of vtk to build' | |||
required: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should have a default or be required
@@ -7,7 +7,6 @@ inputs: | |||
vtk_version: | |||
description: 'VTK version' | |||
required: false | |||
default: 'commit' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should have a default or be required
shell: bash | ||
run: echo "VTK_SHA_OR_TAG=${{inputs.vtk_version}}" >> $GITHUB_ENV | ||
run: | | ||
[[ "${{ inputs.vtk_version }}" ]] || { echo "vtk_version input is empty" ; exit 1; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check both in a single step ?
shell: bash | ||
run: echo "VTK_SHA_OR_TAG=${{inputs.vtk_version}}" >> $GITHUB_ENV | ||
run: | | ||
[[ "${{ inputs.vtk_version }}" ]] || { echo "vtk_version input is empty" ; exit 1; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check both in a single step
.github/workflows/ci.yml
Outdated
uses: ./source/.github/actions/default-versions | ||
- name: Read JSON file | ||
id: get_config | ||
run: echo "config=$(jq -c . < ./source/.github/workflows/config.json)" >> $GITHUB_OUTPUT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe its better to have a dedicated action read and provide individual var instead of using fromJson everywhere ?
.github/workflows/ci.yml
Outdated
#---------------------------------------------------------------------------- | ||
default_versions: | ||
config_file: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont like this job name. config file are aleady a thing in f3d, lets avoid confusion.
.github/workflows/config.json
Outdated
"Alembic is part of VFX reference platform (CY2025: 1.8.x)", | ||
"OpenEXR is part of VFX reference platform (CY2025: 3.3.x)", | ||
"OpenVDB is part of VFX reference platform (CY2025: 12.x))", | ||
"OpenVDB min version is not enforced by F3D code and missing from VTK code)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"OpenVDB min version is not enforced by F3D code and missing from VTK code)", | |
"OpenVDB min version is not enforced by F3D code and missing from VTK code", |
No description provided.