File tree Expand file tree Collapse file tree
{{cookiecutter.package_name}}/.github Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ inputs:
1313runs :
1414 using : ' composite'
1515 steps :
16- - name : Set up Python ${{ inputs.python-version }}
16+ - name : Set up Python {% raw %} ${{ inputs.python-version }}{% endraw % }
1717 uses : actions/setup-python@v5
1818 with :
19- python-version : ${{ inputs.python-version }}
19+ python-version : {% raw %} ${{ inputs.python-version }}{% endraw % }
2020
2121 - name : Install dependencies
2222 shell : bash
2323 run : |
2424 python -m pip install --upgrade pip
25- pip install -e ".[${{ inputs.dependencies }}]"
25+ pip install -e ".[{% raw %} ${{ inputs.dependencies }}{% endraw % }]"
Original file line number Diff line number Diff line change 2121 - name : Setup Python and install dependencies
2222 uses : ./.github/actions/setup
2323 with :
24- python-version : ${{ env.PYTHON_VERSION }}
24+ python-version : {% raw %} ${{ env.PYTHON_VERSION }}{% endraw % }
2525 dependencies : dev
2626
2727 - name : Run tests
3333
3434 # Do not run on git tag (i.e. releases).
3535 # Only runs if tests pass.
36- if : ${{ !startsWith(github.ref, 'refs/tags/') }}
36+ if : {% raw %} ${{ !startsWith(github.ref, 'refs/tags/') }}{% endraw % }
3737 needs : [test]
3838
3939 steps :
4343 - name : Setup Python and install dependencies
4444 uses : ./.github/actions/setup
4545 with :
46- python-version : ${{ env.PYTHON_VERSION }}
46+ python-version : {% raw %} ${{ env.PYTHON_VERSION }}{% endraw % }
4747 dependencies : docs
4848
4949 - name : Build documentation
5959 if : github.ref == 'refs/heads/main' && github.event_name == 'push'
6060 uses : peaceiris/actions-gh-pages@v4
6161 with :
62- github_token : ${{ secrets.GITHUB_TOKEN }}
62+ github_token : {% raw %} ${{ secrets.GITHUB_TOKEN }}{% endraw % }
6363 publish_dir : ./site
6464 {% endif %}
6565
8282 - name : Setup Python and install dependencies
8383 uses : ./.github/actions/setup
8484 with :
85- python-version : ${{ env.PYTHON_VERSION }}
85+ python-version : {% raw %} ${{ env.PYTHON_VERSION }}{% endraw % }
8686 dependencies : build
8787
8888 - name : Build package
You can’t perform that action at this time.
0 commit comments