Skip to content

Commit

Permalink
fix for release action
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyCMWF committed Aug 24, 2023
1 parent bf895dc commit bdadbb5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
push:
tags:
- "*"
# release:
# types:
# - published
# - released
# - prereleased

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -83,7 +78,7 @@ jobs:
- name: Check wheels
run: |
cd dist || exit
$CONDA/bin/python -m pip install earthkit-climate*.whl || exit
$CONDA/bin/python -m pip install earthkit_climate*.whl || exit
$CONDA/bin/python -m twine check * || exit
$CONDA/bin/python -c "from earthkit import climate"
- name: Publish a Python distribution to PyPI
Expand All @@ -92,3 +87,4 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit bdadbb5

Please sign in to comment.