diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 36307b3..a2a7290 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,11 +20,9 @@ jobs: python -m pip install twine==4.0.2 python -m pip install build - name: Set output - run: echo ${GITHUB_REF##*/} + run: RELEASE_VERSION=${GITHUB_REF##*/} echo $RELEASE_VERSION - name: Build package - env: - RELEASE_VERSION: ${GITHUB_REF##*/} - run: python setup.py sdist + run: RELEASE_VERSION=${GITHUB_REF##*/} python setup.py sdist - name: Publish package uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: