Skip to content

Commit 6eb54b5

Browse files
authored
Merge pull request #1301 from Sage-Bionetworks/develop
Fix for publish workflow
2 parents 5bedac0 + cd66634 commit 6eb54b5

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/[email protected]
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)