File tree 1 file changed +5
-13
lines changed
1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,15 @@ jobs:
12
12
# IMPORTANT: this permission is mandatory for trusted publishing
13
13
id-token : write
14
14
steps :
15
- - uses : actions/checkout@v4
16
- with :
17
- ref : ${{ github.event.pull_request.head.ref }}
18
- fetch-depth : 0
19
- fetch-tags : true
15
+ - uses : actions/checkout@v2
20
16
- name : Set up Python
21
- uses : actions/setup-python@v4
17
+ uses : actions/setup-python@v2
22
18
with :
23
- python-version : 3.9
19
+ python-version : 3.8
24
20
- name : Install dependencies and Build
25
21
run : |
26
22
python -m pip install --upgrade pip
27
- pip install setuptools build
28
- python -m build --wheel --outdir dist/ .
29
- - name : Check distribution files
30
- run : |
31
- pip install twine
32
- twine check dist/*
23
+ pip install setuptools wheel twine
24
+ python setup.py sdist bdist_wheel
33
25
- name : Publish
34
26
uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments