Skip to content

Commit

Permalink
make pypi optional
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Jul 19, 2024
1 parent 694099f commit cb245c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"copyright_holder": "European Union",
"copyright_year": "{% now 'utc', '%Y' %}",
"mypy_strict": false,
"integration_tests": false
"integration_tests": false,
"pypi": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
runs-on: ubuntu-latest
needs: distribution
if: |
always() &&
always() && {{ cookiecutter.pypi | string | lower }} &&
needs.distribution.result == 'success' &&
github.event_name == 'push' &&
startsWith(github.ref, 'refs/tags')
Expand Down

0 comments on commit cb245c3

Please sign in to comment.