Skip to content

Commit

Permalink
pybamm-team#2885 Don't use pipx to run Towncrier in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Dec 17, 2023
1 parent 95003ae commit 703c6fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Install dependencies
run: |
pip install wheel
pip install wheel towncrier
pip install --editable ".[all]"
- name: Update version
Expand All @@ -59,7 +59,7 @@ jobs:
# on workflow_dispatch for the actual release (when the append_to_tag input is empty), we do not run this step, since
# we manually edit the version number in the CHANGELOG (since it would have already been built by the previous RC).
if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.append_to_tag != '')
run: pipx run towncrier build --yes
run: python -m towncrier build --yes

- uses: EndBug/add-and-commit@v9
if: github.event_name == 'schedule'
Expand Down

0 comments on commit 703c6fb

Please sign in to comment.