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:
2525
2626 steps :
2727 - uses : actions/checkout@v4
28+ with :
29+ ref : ${{ github.event.workflow_run.head_branch }}
30+
2831 - name : Set up Python
29- uses : actions/setup-python@v3
32+ uses : actions/setup-python@v5
3033 with :
3134 python-version : ' 3.11'
32- - name : Install dependencies
35+
36+ - name : Build
3337 run : |
3438 python -m pip install --upgrade pip
3539 pip install build
36- - name : Build package
37- run : python -m build
40+ python -m build
41+
3842 - name : Publish package
39- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
43+ uses : pypa/gh-action-pypi-publish@release/v1
4044 with :
4145 user : __token__
4246 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