File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,14 @@ jobs:
21
21
with :
22
22
python-version : " 3.10"
23
23
24
- - name : Install datadog_checks_dev
25
- run : |
26
- python -m pip install datadog_checks_dev[cli]
24
+ - name : Install pypa/build
25
+ run : python -m pip install build --user
27
26
28
- - name : Set ddev pypi credentials
29
- run : |
30
- ddev config set pypi.user __token__
31
- ddev config set pypi.pass ${{ secrets.PYPI_TOKEN }}
27
+ - name : Build a binary wheel and a source tarball
28
+ run : python -m build --sdist --wheel --outdir dist/ .
32
29
33
- - name : Publish the wheel to PyPI
34
- run : |
35
- ddev release upload .
30
+ - name : Publish a Python distribution to PyPI
31
+ uses : pypa/gh-action-pypi-publish@release/v1
32
+ with :
33
+ user : __token__
34
+ password : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments