Skip to content

Commit

Permalink
template update
Browse files Browse the repository at this point in the history
  • Loading branch information
malmans2 committed Oct 16, 2023
1 parent 3374436 commit 0cbcfc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/ecmwf-projects/cookiecutter-conda-package",
"commit": "e1fc4734213fe5ff14f1d95c755a9f25448447bc",
"commit": "22b85d3aca63d05f4a19f1a531bcea311617f4cd",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ jobs:
distribution:
runs-on: ubuntu-latest
needs: [unit-tests, type-check, docs-build, integration-tests]
environment:
name: pypi
url: https://pypi.org/p/cacholote
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publish
if: |
always() &&
needs.unit-tests.result == 'success' &&
Expand All @@ -192,6 +197,3 @@ jobs:
- name: Publish a Python distribution to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 0cbcfc4

Please sign in to comment.