Skip to content

Commit

Permalink
use tagname directly from inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
alphasentaurii committed Apr 8, 2024
1 parent 757febd commit c835c28
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,9 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Get tag name
id: get_tag_name
env:
tagname: ${{ github.event.inputs.version }}
run: echo "VERSION=refs/tags/${env.tagname}" >> $GITHUB_OUTPUT

- uses: actions/checkout@v4
env:
VERSION: ${{ steps.get_tag_name.outputs.VERSION }}
with:
ref: ${{ env.VERSION }}
ref: ${{ github.event.inputs.version }}
fetch-depth: 0

- uses: actions/setup-python@v5
Expand Down

0 comments on commit c835c28

Please sign in to comment.