Skip to content

Commit

Permalink
Committing forgotten files from other PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenioseveri committed Sep 13, 2023
1 parent 80a52d5 commit 8f5c82f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions workflows/_release_and_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
if: github.event.pull_request.merged == true && ( github.base_ref == 'master' || github.base_ref == 'main' )
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # otherwise, you do not retrieve the tags

- name: Check Tag
id: check-tag
Expand All @@ -59,6 +61,12 @@ jobs:
target_commitish: ${{ github.base_ref }}
append_body: true

- name: Checkout created tag
uses: actions/checkout@v4
if: steps.check-tag.outputs.match == 'true' && ( inputs.publish_on_test_pypi || inputs.publish_on_pypi)
with:
fetch-depth: 0 # otherwise, you do not retrieve the tags

- uses: actions/setup-python@v1
if: steps.check-tag.outputs.match == 'true' && (inputs.publish_on_pypi || inputs.publish_on_test_pypi)
with:
Expand Down

0 comments on commit 8f5c82f

Please sign in to comment.