Skip to content

Commit

Permalink
actions: publish: remove if from steps
Browse files Browse the repository at this point in the history
  • Loading branch information
akorosov committed Jan 21, 2022
1 parent 02b7a03 commit 9463843
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build Python package
if: github.event_name == 'release'
run: >
GEODATASET_RELEASE="${GITHUB_REF#refs/tags/}"
python setup.py sdist bdist_wheel
- name: Publish Python package
if: github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 9463843

Please sign in to comment.