From 9cb9ee65210876170a43fd531cb45bb13c4bf183 Mon Sep 17 00:00:00 2001 From: Adam Cohen Hillel Date: Thu, 30 Mar 2023 13:37:20 +0100 Subject: [PATCH] try pypi again --- .github/workflows/publish.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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: