File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-24.04
99 steps :
1010 - uses : actions/checkout@v6
11- - uses : actions/setup-python@v5
11+ - uses : actions/setup-python@v6
1212 with :
13- python-version : " 3.13 "
13+ python-version : " 3.14 "
1414 - name : Build source package
1515 run : |
16- pip install -U --pre cython setuptools
16+ pip install -U cython setuptools
1717 python scripts/fetch-vendor.py --config-file scripts/ffmpeg-latest.json /tmp/vendor
1818 PKG_CONFIG_PATH=/tmp/vendor/lib/pkgconfig python setup.py sdist
19- - name : Upload source package
20- uses : actions/upload-artifact@v4
19+ - name : Publish to PyPI
20+ if : github.event_name == 'release' && github.event.action == 'published'
21+ uses : pypa/gh-action-pypi-publish@release/v1
2122 with :
22- name : dist-source
23- path : dist/
23+ user : __token__
24+ password : ${{ secrets.PYPI_TOKEN }}
2425
2526 package-wheel :
2627 runs-on : ${{ matrix.os }}
7677
7778 publish :
7879 runs-on : ubuntu-latest
79- needs : [package-source, package- wheel]
80+ needs : [package-wheel]
8081 steps :
8182 - uses : actions/checkout@v6
8283 - uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments