Skip to content

Commit

Permalink
fix: Use Slicer fork of jinja2-action to fix Poetry 2.0 breaking change
Browse files Browse the repository at this point in the history
As of 2025-01-08, the latest version of `cuchi/jinja2-action` broke due
to a breaking change introduced in poetry 2.0.
See cuchi/jinja2-action#21

This fork was created to provide the fix originally contributed by @OlivierCloudar,
ensuring it is associated with a GitHub organization rather than an
individual user account.
See /~https://github.com/Slicer/jinja2-action
  • Loading branch information
jcfr committed Jan 8, 2025
1 parent bd071df commit 5abe070
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,31 +94,31 @@ jobs:

- name: 'Evaluate download template [release_and_nightly]'
if: env.deploy_download_preview == 'true'
uses: cuchi/jinja2-action@6d31ec73a23fdd391e21e3efce8a91a87762980d # v1.2.2
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # slicer-2023-11-09-2ea7da6
with:
template: _site/download.html
data_file: _data/template_test_data/download_release_and_nightly.json
output_file: _site/download_release_and_nightly.html

- name: 'Evaluate download template [only_release]'
if: env.deploy_download_preview == 'true'
uses: cuchi/jinja2-action@6d31ec73a23fdd391e21e3efce8a91a87762980d # v1.2.2
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # slicer-2023-11-09-2ea7da6
with:
template: _site/download.html
data_file: _data/template_test_data/download_only_release.json
output_file: _site/download_only_release.html

- name: 'Evaluate download template [only_nightly]'
if: env.deploy_download_preview == 'true'
uses: cuchi/jinja2-action@6d31ec73a23fdd391e21e3efce8a91a87762980d # v1.2.2
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # slicer-2023-11-09-2ea7da6
with:
template: _site/download.html
data_file: _data/template_test_data/download_only_nightly.json
output_file: _site/download_only_nightly.html

- name: 'Evaluate download template [incomplete_releases]'
if: env.deploy_download_preview == 'true'
uses: cuchi/jinja2-action@6d31ec73a23fdd391e21e3efce8a91a87762980d # v1.2.2
uses: Slicer/jinja2-action@d94dd73f31971ae95cb4cfee57236618c65ccb7f # slicer-2023-11-09-2ea7da6
with:
template: _site/download.html
data_file: _data/template_test_data/download_incomplete_releases.json
Expand Down

0 comments on commit 5abe070

Please sign in to comment.