File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - published
77
88env :
9- PUBLISH_UPDATE_BRANCH : main
109 GIT_USER_NAME : datalab developers
1110 GIT_USER_EMAIL : " dev@datalab-org.io"
1211
1312jobs :
1413
15- release :
16- name : Release new version
17- runs-on : ubuntu-latest
18- permissions :
19- id-token : write
20- if : github.repository == 'datalab-org/datalab-api' && startsWith(github.ref, 'refs/tags/v')
21-
22- steps :
23- - name : Checkout repository
24- uses : actions/checkout@v6
25- with :
26- submodules : true
27- fetch-depth : 0
28- ref : ${{ env.PUBLISH_UPDATE_BRANCH }}
29-
3014 publish :
3115 name : " Publish on PyPI"
3216 runs-on : ubuntu-latest
3317 permissions :
3418 id-token : write
3519 if : github.repository == 'datalab-org/datalab-api' && startsWith(github.ref, 'refs/tags/v')
36- needs : [release]
3720 environment :
3821 name : release
3922 url : https://pypi.org/project/datalab-api
4528 with :
4629 submodules : true
4730 fetch-depth : 0
48- ref : ${{ env.PUBLISH_UPDATE_BRANCH }}
31+
4932 - name : Set up Python 3.11
5033 uses : actions/setup-python@v6
5134 with :
You can’t perform that action at this time.
0 commit comments