Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
0ssigeno committed Aug 29, 2023
1 parent d5e25e5 commit 658323c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/_release_and_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ jobs:
prerelease: false
target_commitish: ${{ github.base_ref }}

- name: Checkout created tag
uses: actions/checkout@v3
if: inputs.publish_on_test_pypi || inputs.publish_on_pypi

- uses: actions/setup-python@v1
if: inputs.publish_on_pypi || inputs.publish_on_test_pypi
with:
Expand All @@ -75,10 +79,6 @@ jobs:
run: |
python -m build --sdist --wheel --outdir dist/
- name: Checkout created tag
uses: actions/checkout@v3
if: steps.check-tag.outputs.match == 'true' && ( inputs.publish_on_test_pypi || inputs.publish_on_pypi)

- name: Publish to test PyPi
uses: pypa/gh-action-pypi-publish@release/v1
if: inputs.publish_on_test_pypi
Expand Down

0 comments on commit 658323c

Please sign in to comment.