File tree 1 file changed +14
-16
lines changed
1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change 9
9
- name : Checkout
10
10
11
11
12
- - name : Change to SDK directory
13
- run : cd python
14
-
15
12
- name : Set up Python
16
13
17
14
with :
18
- python-version : ' 3.10.10'
19
- # ----------------------------------------------
20
- # ----- install & configure poetry -----
21
- # ----------------------------------------------
15
+ python-version : ' 3.10.10'
16
+
22
17
- name : Install and configure Poetry
23
-
24
- with :
25
- version : 1.4.2
26
- virtualenvs-create : true
27
- virtualenvs-in-project : true
28
- installer-parallel : true
18
+ run : |
19
+ cd python/sdk
20
+ curl -sSL https://install.python-poetry.org | python3 -
21
+ env :
22
+ POETRY_VERSION : 1.3.3
23
+
24
+ - name : Build
25
+ run : poetry build
26
+ working-directory : python
29
27
30
- # The following steps will now execute in the python/sdk directory
31
- - run : poetry build
32
- - run : poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
28
+ - name : Publish
29
+ run : poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
30
+ working-directory : python
You can’t perform that action at this time.
0 commit comments