Skip to content

Commit 1fce656

Browse files
authored
frank/update release workflow
1 parent e3ee828 commit 1fce656

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

.github/workflows/release.yml

+14-16
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,22 @@ jobs:
99
- name: Checkout
1010
uses: actions/[email protected]
1111

12-
- name: Change to SDK directory
13-
run: cd python
14-
1512
- name: Set up Python
1613
uses: actions/[email protected]
1714
with:
18-
python-version: '3.10.10'
19-
#----------------------------------------------
20-
# ----- install & configure poetry -----
21-
#----------------------------------------------
15+
python-version: '3.10.10'
16+
2217
- name: Install and configure Poetry
23-
uses: snok/[email protected]
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
2927

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

0 commit comments

Comments
 (0)