From 69e7ab43e4e1eeb04f913f10346eb5c0eab6b6b5 Mon Sep 17 00:00:00 2001 From: GuyAv46 Date: Thu, 16 Nov 2023 10:46:46 +0200 Subject: [PATCH] minor improvement and fixes --- .github/workflows/publish-pypi.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 80cf06f5..ddd931ab 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -14,10 +14,7 @@ jobs: - name: get version from tag id: get_version - run: | - realversion="${GITHUB_REF/refs\/tags\//}" - realversion="${realversion//v/}" - echo "::set-output name=VERSION::$realversion" + run: echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT - name: Set the version for publishing uses: ciiiii/toml-editor@1.0.0 @@ -44,7 +41,7 @@ jobs: uses: snok/install-poetry@v1 with: version: 1.2.2 - virtualens-create: false + virtualenvs-create: false virtualenvs-in-project: false installer-parallel: true