File tree 1 file changed +24
-4
lines changed
1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,37 @@ jobs:
32
32
if : success()
33
33
# windows container is not required here
34
34
runs-on : ubuntu-latest
35
- # Specifying a GitHub environment is optional, but strongly encouraged
36
- environment : release
37
35
permissions :
38
36
# IMPORTANT: this permission is mandatory for trusted publishing
39
37
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
40
42
41
43
steps :
42
44
- name : Checkout
43
45
uses : actions/checkout@v4
44
46
with :
45
47
ref : ${{github.sha}}
46
48
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