From 95e103d4869bdaf2fd6780262c335f82e7d54715 Mon Sep 17 00:00:00 2001 From: Santiago Castro Date: Tue, 28 Mar 2023 02:07:33 -0400 Subject: [PATCH] Update env setup in publish.yml to match ci.yml for GitHub Actions --- .github/workflows/publish.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b334bbb..8630cdb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,17 +6,15 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.x - name: Install the latest Pip and Wheel run: pip install --upgrade pip wheel - name: Set up Poetry - uses: abatilo/actions-poetry@v2.1.3 - with: - poetry-version: 1.1.11 # Previous versions give an error with Python 3.10. + uses: abatilo/actions-poetry@v2 - name: Build and publish env: POETRY_HTTP_BASIC_PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}