File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 7
7
# # -- 2024 1.0.0 MRD Creation
8
8
# # -- 2024-12-03 1.1.0 DA Updated the version for Python to 3.10
9
9
# # -- 2024-12-10 1.2.0 DA Update actions/checkout to v4
10
+ # # -- 2025-04-27 1.3.0 DA Update pypa/gh-action-pypi-publish@master to
11
+ # # -- pypa/gh-action-pypi-publish@release/v1
10
12
# # -------------------------------------------------------------------------------------------------
11
13
12
14
name : Deployment PyPI
20
22
jobs :
21
23
build :
22
24
runs-on : ubuntu-latest
25
+
26
+ environment :
27
+ name : Deployment PyPI
28
+ url : https://pypi.org/p/mlpro-int-river
29
+ permissions :
30
+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
23
31
24
32
steps :
33
+
25
34
- name : Checkout Codes
26
35
uses : actions/checkout@v4
27
36
with :
28
37
ref : ${{ github.head_ref }}
29
- - name : Set up Python 3.10
38
+
39
+ - name : Set up Python 3.11
30
40
uses : actions/setup-python@v5
31
41
with :
32
- python-version : ' 3.10'
42
+ python-version : ' 3.11'
43
+
33
44
- name : Install pypa/build
34
45
run : >-
35
46
python -m
36
47
pip install
37
48
build
38
49
--user
50
+
39
51
- name : Build a binary wheel and a source tarball
40
52
run : >-
41
53
python -m
42
54
build
43
55
--sdist
44
56
--wheel
45
57
--outdir dist/
58
+
46
59
- name : Publish distribution to PyPI
47
- # if: startsWith(github.ref, 'refs/tags')
48
- uses : pypa/gh-action-pypi-publish@master
49
- with :
50
- password : ${{ secrets.PYPI_API_TOKEN }}
60
+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments