Skip to content

Commit

Permalink
Update release publishing mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
pappasam committed Nov 18, 2023
1 parent 16be087 commit a8b714d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.11']
python-version: ["3.11"]
steps:
- uses: actions/checkout@v2
- name: Setup, Python ${{ matrix.python-version }}
Expand All @@ -18,11 +18,10 @@ jobs:
architecture: x64
- name: Deploy with Python ${{ matrix.python-version }}
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
run: |
python -m pip install -U pip
python -m pip install wheel
python -m pip install poetry
poetry build
poetry publish --username="$PYPI_USERNAME" --password="$PYPI_PASSWORD"
poetry publish

0 comments on commit a8b714d

Please sign in to comment.