File tree 1 file changed +8
-9
lines changed
1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
publish :
11
11
# This job will only run if the PR has been merged (and not closed without merging).
12
- if : " github.event.pull_request.merged == true && !contains(github.event.pull_request.head.message, 'skipci')"
12
+ if : " github.event.pull_request.merged == true"
13
+ permissions :
14
+ id-token : write
15
+ contents : read
13
16
runs-on : ubuntu-latest
14
17
steps :
15
18
- name : Checkout repository
16
19
uses : actions/checkout@v3
17
20
18
- - name : Set up Python
19
- uses : actions/setup-python@v2
20
- with :
21
- python-version : 3.9
21
+ - name : Install Poetry
22
+
22
23
23
- - name : Make package
24
- run : |
25
- python3 -m pip install --upgrade setuptools wheel
26
- python3 setup.py sdist bdist_wheel
24
+ - name : Build a binary wheel and a source tarball
25
+ run : poetry build
27
26
28
27
- name : Publish package distributions to PyPI
29
28
You can’t perform that action at this time.
0 commit comments