Skip to content

Commit e8e75c6

Browse files
authored
Merge pull request #1299 from Sage-Bionetworks/bugfix-publish-workflow
redid poetry install in publish workflow
2 parents 9d353c0 + 7c71206 commit e8e75c6

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
pypi_release:
1010
runs-on: ubuntu-latest
11+
env:
12+
POETRY_VERSION: 1.2.0
1113
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
1214
steps:
1315
#----------------------------------------------
@@ -20,15 +22,16 @@ jobs:
2022
uses: actions/setup-python@v2
2123
with:
2224
python-version: ${{ matrix.python-version }}
23-
25+
2426
#----------------------------------------------
25-
# install & configure poetry
27+
# install & configure poetry
2628
#----------------------------------------------
2729
- name: Install Poetry
28-
uses: snok/install-poetry@v1.1.1
29-
with:
30-
virtualenvs-create: true
31-
virtualenvs-in-project: true
30+
run: |
31+
curl -sSL https://install.python-poetry.org \
32+
| python3 - --version ${{ env.POETRY_VERSION }};
33+
poetry config virtualenvs.create true;
34+
poetry config virtualenvs.in-project true;
3235
3336
#----------------------------------------------
3437
# load cached venv if cache exists

0 commit comments

Comments
 (0)