File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,16 @@ jobs:
1414 - uses : actions/checkout@v3
1515 with :
1616 fetch-depth : 0
17+ - name : Install Poetry
18+ uses : snok/install-poetry@v1
19+ with :
20+ virtualenvs-create : true
21+ virtualenvs-in-project : true
1722 - name : Build and publish packages
1823 id : build_and_publish_packages
1924 run : |
2025 sudo apt-get update && \
2126 sudo apt-get install -yq --no-install-recommends curl gcc g++ libev-dev libyaml-dev python3-pip python3.8 python3.8-dev && \
22- curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - && \
23- poetry config virtualenvs.create false && \
2427 cd lib/poseidon_api && poetry build && poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }} && cd ../../ && \
2528 cd lib/poseidon_cli && poetry build && poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }} && cd ../../ && \
2629 cd lib/poseidon_core && poetry build && poetry publish -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }} && cd ../../
You can’t perform that action at this time.
0 commit comments