@@ -3,11 +3,9 @@ name: Upload Python Package
33on :
44 workflow_dispatch :
55
6- # ref: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
7-
86jobs :
97 build-oeq :
10- name : Build distribution
8+ name : Build oeq dist
119 runs-on : ubuntu-latest
1210 steps :
1311 - uses : actions/checkout@v4
@@ -18,37 +16,36 @@ jobs:
1816 - name : install dependencies, then build source tarball
1917 run : |
2018 cd openequivariance
21- python3 -m pip install build --user
22- python3 -m build --sdist
19+ python3 -m pip install build
20+ python3 -m build --sdist
2321 - name : store the distribution packages
2422 uses : actions/upload-artifact@v4
2523 with :
26- name : python -package-distributions
24+ name : oeq -package-distributions
2725 path : openequivariance/dist/
2826
2927 pypi-publish :
30- name : Upload release to PyPI
28+ name : Upload oeq to PyPI
3129 runs-on : ubuntu-latest
3230 needs : build-oeq
3331 environment :
3432 name : pypi
3533 url : https://pypi.org/p/openequivariance
3634 permissions :
37- # IMPORTANT: this permission is mandatory for Trusted Publishing
3835 id-token : write
3936 steps :
4037 - name : download the distributions
4138 uses : actions/download-artifact@v4
4239 with :
43- name : python -package-distributions
44- path : openequivariance/ dist/
40+ name : oeq -package-distributions
41+ path : dist/
4542 - name : publish package distributions to PyPI
4643 uses : pypa/gh-action-pypi-publish@release/v1
4744
4845 # ------------------------------------
4946
5047 build-oeq-extjax :
51- name : Build distribution
48+ name : Build extjax dist
5249 runs-on : ubuntu-latest
5350 steps :
5451 - uses : actions/checkout@v4
@@ -59,29 +56,28 @@ jobs:
5956 - name : install dependencies, then build source tarball
6057 run : |
6158 cd openequivariance_extjax
62- python3 -m pip install build --user
59+ python3 -m pip install build
6360 python3 -m build --sdist
6461 - name : store the distribution packages
6562 uses : actions/upload-artifact@v4
6663 with :
67- name : python -package-distributions
64+ name : oeqjax -package-distributions
6865 path : openequivariance_extjax/dist/
6966
7067 pypi-publish-extjax :
71- name : Upload release to PyPI
68+ name : Upload extjax to PyPI
7269 runs-on : ubuntu-latest
7370 needs : build-oeq-extjax
7471 environment :
7572 name : pypi
7673 url : https://pypi.org/p/openequivariance_extjax
7774 permissions :
78- # IMPORTANT: this permission is mandatory for Trusted Publishing
7975 id-token : write
8076 steps :
8177 - name : download the distributions
8278 uses : actions/download-artifact@v4
8379 with :
84- name : python -package-distributions
85- path : openequivariance_extjax/ dist/
80+ name : oeqjax -package-distributions
81+ path : dist/
8682 - name : publish package distributions to PyPI
87- uses : pypa/gh-action-pypi-publish@release/v1
83+ uses : pypa/gh-action-pypi-publish@release/v1
0 commit comments