File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,37 @@ jobs:
3232 if : success()
3333 # windows container is not required here
3434 runs-on : ubuntu-latest
35- # Specifying a GitHub environment is optional, but strongly encouraged
36- environment : release
3735 permissions :
3836 # IMPORTANT: this permission is mandatory for trusted publishing
3937 id-token : write
38+ # Specifying a GitHub environment is optional, but strongly encouraged
39+ environment :
40+ name : release
41+ url : https://pypi.org/project/matlab-proxy
4042
4143 steps :
4244 - name : Checkout
4345 uses : actions/checkout@v4
4446 with :
4547 ref : ${{github.sha}}
4648
47- - name : Build and Publish in PyPi
48- uses : ./.github/actions/build_and_publish_pypi
49+ - name : Set up Python 3.8
50+ uses : actions/setup-python@v5
51+ with :
52+ python-version : ' 3.8'
53+
54+ - name : Install Python build dependencies
55+ run : |
56+ python3 -m pip install --upgrade pip
57+ python3 -m pip install wheel
58+ shell : bash
59+
60+ - name : Build Source and Binary wheel distributions
61+ run : python3 setup.py bdist_wheel sdist
62+ shell : bash
63+
64+ - name : Publish to PyPI.
65+ uses : pypa/gh-action-pypi-publish@release/v1
66+
67+ # pypa/gh-action-pypi-publish does not support composite action from v1.12.0 onwards.
68+ # For more information, see : https://github.com/pypa/gh-action-pypi-publish/issues/299
You can’t perform that action at this time.
0 commit comments