File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -25,20 +25,23 @@ jobs:
25
25
26
26
steps :
27
27
- uses : actions/checkout@v4
28
+ with :
29
+ ref : ${{ github.event.workflow_run.head_branch }}
30
+
28
31
- name : Set up Python
29
- uses : actions/setup-python@v3
32
+ uses : actions/setup-python@v5
30
33
with :
31
34
python-version : ' 3.11'
32
- - name : Install dependencies
35
+
36
+ - name : Build
33
37
run : |
34
38
python -m pip install --upgrade pip
35
39
pip install build
36
- - name : Build package
37
- run : python -m build
40
+ python -m build
41
+
38
42
- name : Publish package
39
- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
43
+ uses : pypa/gh-action-pypi-publish@release/v1
40
44
with :
41
45
user : __token__
42
46
password : ${{ secrets.PYPI_API_TOKEN }}
43
- skip-existing : true
44
- verbose : true
47
+ verbose : true
You can’t perform that action at this time.
0 commit comments