From 4478a85201573673e868f0d119c615a3b26b16c5 Mon Sep 17 00:00:00 2001 From: Argyrios Samourkasidis Date: Thu, 19 May 2022 00:58:33 +0300 Subject: [PATCH] fix: Update semver --- .github/workflows/upload-to-pip.yml.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/upload-to-pip.yml.yml b/.github/workflows/upload-to-pip.yml.yml index 4a7a8e2..8bc228d 100644 --- a/.github/workflows/upload-to-pip.yml.yml +++ b/.github/workflows/upload-to-pip.yml.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GH_TOKEN }} - uses: actions/setup-python@v2 with: @@ -24,8 +24,8 @@ jobs: - name: "Installs dependencies" run: | - python3 -m pip install --upgrade pip - python3 -m pip install setuptools wheel python-semantic-release + python -m pip install --upgrade pip + python -m pip install setuptools wheel python-semantic-release - name: "Builds and uploads to PyPI" run: | @@ -33,5 +33,6 @@ jobs: git config --global user.email "action@github.com" semantic-release publish env: + PYPI_USERNAME: __token__ PYPI_TOKEN: ${{ secrets.PYPI }} GH_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file