Skip to content

Commit

Permalink
Merge pull request #163 from ecmwf-projects/pypi-optional
Browse files Browse the repository at this point in the history
make pypi optional
  • Loading branch information
malmans2 authored Jul 19, 2024
2 parents 694099f + cb245c3 commit 3b34cec
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 3b34cec

Please sign in to comment.