fix workflow (#1364)

* fix workflow

* use 'working-directory' tag

* install and build

---------

Co-authored-by: ani <ani@Anirudhs-MBP.cable.rcn.com>
This commit is contained in:
Anirudh Suresh 2024-03-15 16:13:40 -04:00 committed by GitHub
parent a007a088ed
commit a40de245b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 3 deletions

View File

@ -14,8 +14,10 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install --upgrade poetry
poetry -C express_relay/sdk/python/express_relay build
poetry install
working-directory: "express_relay/sdk/python/express_relay"
- name: Build and publish
run: |
poetry -C express_relay/sdk/python/express_relay build
poetry -C express_relay/sdk/python/express_relay publish --username __token__ --password ${{ secrets.PYPI_TOKEN }}
poetry build
poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }}
working-directory: "express_relay/sdk/python/express_relay"