From bbb567f175a4150629b924a1aac463b2c67e0a67 Mon Sep 17 00:00:00 2001 From: MartinHowarth Date: Wed, 8 Jan 2020 16:08:05 +0000 Subject: [PATCH] feat: install poetry differently --- .github/workflows/release.yml | 4 +++- .github/workflows/test_and_lint.yml | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 285d638..2e46f5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,9 @@ jobs: - name: Checkout uses: actions/checkout@v1 - name: Install poetry - run: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python + run: | + curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python + source $HOME/.poetry/env - name: Semantic Release uses: cycjimmy/semantic-release-action@v2 id: semantic # Need an `id` for output variables diff --git a/.github/workflows/test_and_lint.yml b/.github/workflows/test_and_lint.yml index 12615d0..6c56a7c 100644 --- a/.github/workflows/test_and_lint.yml +++ b/.github/workflows/test_and_lint.yml @@ -17,6 +17,7 @@ jobs: - name: Install dependencies run: | curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python + source $HOME/.poetry/env poetry install - run: | @@ -35,6 +36,7 @@ jobs: - name: Install dependencies run: | curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python + source $HOME/.poetry/env poetry install - run: | @@ -53,6 +55,7 @@ jobs: - name: Install dependencies run: | curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python + source $HOME/.poetry/env poetry install - run: | @@ -71,6 +74,7 @@ jobs: - name: Install dependencies run: | curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python + source $HOME/.poetry/env poetry install - run: | @@ -90,6 +94,7 @@ jobs: - name: Install dependencies run: | curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python + source $HOME/.poetry/env poetry install - run: |