Skip to content

Commit

Permalink
Update env setup in publish.yml to match ci.yml for GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bryant1410 committed Mar 28, 2023
1 parent 9bac852 commit 95e103d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 95e103d

Please sign in to comment.