File tree 1 file changed +10
-16
lines changed
1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change 21
21
with :
22
22
python-version : ${{ matrix.python_version }}
23
23
24
- - name : Pip, Pre-commit & Poetry caches
25
- uses : actions/cache@v2
26
- with :
27
- path : |
28
- ~/.cache/
29
- key : ${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}-${{ hashFiles('.pre-commit-config.yaml') }}
30
-
31
- - name : Install Poetry
32
- run : pip install poetry
33
-
34
- - name : Install Dev dependencies
35
- run : poetry install --extras "django sqlalchemy"
24
+ - name : Install
25
+ run : pip install build
36
26
37
27
- name : Wait for tests to succeed
38
28
uses : fountainhead/action-wait-for-check@v1.0.0
45
35
if : steps.wait-for-ci.outputs.conclusion != 'success'
46
36
run : exit 1
47
37
48
- - name : Publish on PyPI
49
- run : scripts/publish
50
- env :
51
- PYPI_TOKEN : " ${{ secrets.PYPI_TOKEN }}"
38
+ - name : Build package
39
+ run : python -m build
40
+
41
+ - name : Publish a Python distribution to PyPI
42
+ uses : pypa/gh-action-pypi-publish@release/v1
43
+ with :
44
+ user : __token__
45
+ password : " ${{ secrets.PYPI_TOKEN }}"
You can’t perform that action at this time.
0 commit comments