Skip to content

Commit ad24baa

Browse files
authored
Merge pull request #351 from valentin-petzold/fix_cd
new gh action to publish to pypi
2 parents 93fe06f + 3486e66 commit ad24baa

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/cd.yml

+13-5
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,18 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-python@v2
11+
- uses: actions/checkout@v3
12+
- name: Set up Python
13+
uses: actions/setup-python@v3
14+
with:
15+
python-version: '3.9'
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install build
20+
- name: Build package
21+
run: python -m build
1322
- name: Build and publish to pypi
14-
uses: JRubics/poetry-publish@v1.17
23+
uses: pypa/gh-action-pypi-publish@release/v1
1524
with:
16-
pypi_token: ${{ secrets.PROD_PYPI}}
17-
plugins: "poetry-dynamic-versioning[plugin]"
25+
password: ${{ secrets.PROD_PYPI}}

0 commit comments

Comments
 (0)