From f4c8d9223f53e8c90ac99b3289f64ed0334d7738 Mon Sep 17 00:00:00 2001 From: Albert Zeyer Date: Tue, 6 Dec 2022 21:55:04 +0100 Subject: [PATCH] CI pypi publish should be fixed https://github.com/pypa/gh-action-pypi-publish/issues/112 --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b9931d520..fc12e0dea 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ jobs: - name: Install Python deps run: | - echo "PATH=$PATH:~/.local/bin" >> $GITHUB_ENV + echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV pip3 install --user --upgrade pip setuptools wheel twine pip3 install --user typing # needed for Python 2 in some cases pip3 install --user -r requirements.txt @@ -40,7 +40,7 @@ jobs: # https://github.com/marketplace/actions/pypi-publish - name: Publish to PyPI # https://github.com/pypa/gh-action-pypi-publish/issues/112 - uses: pypa/gh-action-pypi-publish@release/v1.4 + uses: pypa/gh-action-pypi-publish@fedca4a9a83c with: user: __token__ password: ${{ secrets.pypi_password }}