diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d67054c..5e05618 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,9 +31,9 @@ jobs: run: | VERSION=${GITHUB_REF#refs/tags/v} echo "VERSION=$VERSION" - echo "::set-output name=VERSION::$VERSION" - - name: Update version - run: npm version ${{ steps.extract_version.outputs.VERSION }} + echo "VERSION=$VERSION" >> $GITHUB_ENV + - name: Update version (npm) + run: npm version $VERSION working-directory: ./jest - name: Build the project run: npm run build @@ -71,9 +71,9 @@ jobs: run: | VERSION=${GITHUB_REF#refs/tags/v} echo "VERSION=$VERSION" - echo "::set-output name=VERSION::$VERSION" - - name: Update version - run: poetry version ${{ steps.extract_version.outputs.VERSION }} + echo "VERSION=$VERSION" >> $GITHUB_ENV + - name: Update version (poetry) + run: poetry version $VERSION working-directory: ./pytest - name: Build and publish Python package env: