Skip to content

Commit a8b714d

Browse files
committed
Update release publishing mechanism
1 parent 16be087 commit a8b714d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-20.04]
11-
python-version: ['3.11']
11+
python-version: ["3.11"]
1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: Setup, Python ${{ matrix.python-version }}
@@ -18,11 +18,10 @@ jobs:
1818
architecture: x64
1919
- name: Deploy with Python ${{ matrix.python-version }}
2020
env:
21-
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
22-
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
21+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.POETRY_PYPI_TOKEN_PYPI }}
2322
run: |
2423
python -m pip install -U pip
2524
python -m pip install wheel
2625
python -m pip install poetry
2726
poetry build
28-
poetry publish --username="$PYPI_USERNAME" --password="$PYPI_PASSWORD"
27+
poetry publish

0 commit comments

Comments
 (0)