diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 1884d36..c745483 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -21,7 +21,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest tox + pip install tox - name: Setup git creds run: | @@ -49,8 +49,8 @@ jobs: run: | python -m tox -e clean,build - # - name: Publish package - # uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 - # with: - # user: __token__ - # password: ${{ secrets.PYPI_PASSWORD }} + - name: Publish package + uses: pypa/gh-action-pypi-publish@v1.12.2 + with: + user: __token__ + password: ${{ secrets.PYPI_PASSWORD }} diff --git a/.github/workflows/pypi-test.yml b/.github/workflows/pypi-test.yml index fbde7a6..f2887d5 100644 --- a/.github/workflows/pypi-test.yml +++ b/.github/workflows/pypi-test.yml @@ -31,7 +31,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest tox + pip install tox - name: Test with tox run: | diff --git a/src/biocsetup/templates/github_workflows/pypi-publish.yml b/src/biocsetup/templates/github_workflows/pypi-publish.yml index 995e5e6..72a5681 100644 --- a/src/biocsetup/templates/github_workflows/pypi-publish.yml +++ b/src/biocsetup/templates/github_workflows/pypi-publish.yml @@ -35,7 +35,7 @@ jobs: - run: touch ./docs/_build/html/.nojekyll - name: GH Pages Deployment - uses: JamesIves/github-pages-deploy-action@4.1.3 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages # The branch the action should deploy to. folder: ./docs/_build/html @@ -46,7 +46,7 @@ jobs: python -m tox -e clean,build - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + uses: pypa/gh-action-pypi-publish@v1.12.2 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }}