File tree Expand file tree Collapse file tree 1 file changed +53
-15
lines changed Expand file tree Collapse file tree 1 file changed +53
-15
lines changed Original file line number Diff line number Diff line change 1- name : publish new version to PyPI
2-
3- on : release
4- # release:
5- # types: [published]
6-
1+ name : release
2+ on :
3+ release :
4+ types : [published ]
75jobs :
86 deploy :
97 runs - on : ubuntu - latest
1311 strategy :
1412 max - parallel : 1
1513 matrix :
16- package : ["test_validation" ]
17-
14+ package : ["pymatgen-io-validation" ]
1815 steps :
19- - uses : actions / checkout @v4
20-
21- - uses : actions / setup - python @v5
16+ - uses : actions / checkout @v3
17+ - uses : actions / setup - python @v4
2218 with :
23- python - version : 3.11
24-
19+ python - version : 3.8
2520 - name : Install dependencies
2621 run : |
2722 python - m pip install - - upgrade pip
2823 pip install setuptools setuptools_scm wheel
29-
3024 - name : Build packages
3125 run : python setup .py sdist bdist_wheel
32-
3326 - name : Publish package
3427 uses : pypa / gh - action - pypi - publish @master
3528 with :
3831 skip - existing : true
3932 verbose : true
4033 packages_dir : dist /
34+
35+
36+
37+
38+
39+ # name: publish new version to PyPI
40+
41+ # on: release
42+ # # release:
43+ # # types: [published]
44+
45+ # jobs:
46+ # deploy:
47+ # runs-on: ubuntu-latest
48+ # permissions:
49+ # # For pypi trusted publishing
50+ # id-token: write
51+ # strategy:
52+ # max-parallel: 1
53+ # matrix:
54+ # package: ["test_validation"]
55+
56+ # steps:
57+ # - uses: actions/checkout@v4
58+
59+ # - uses: actions/setup-python@v5
60+ # with:
61+ # python-version: 3.11
62+
63+ # - name: Install dependencies
64+ # run: |
65+ # python -m pip install --upgrade pip
66+ # pip install setuptools setuptools_scm wheel
67+
68+ # - name: Build packages
69+ # run: python setup.py sdist bdist_wheel
70+
71+ # - name: Publish package
72+ # uses: pypa/gh-action-pypi-publish@master
73+ # with:
74+ # # user: __token__
75+ # # password: ${{ secrets.PYPI_API_TOKEN }}
76+ # skip-existing: true
77+ # verbose: true
78+ # packages_dir: dist/
You can’t perform that action at this time.
0 commit comments