diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 51cd996..285d638 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v1 + - name: Install poetry + run: curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - 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 b9951c6..12615d0 100644 --- a/.github/workflows/test_and_lint.yml +++ b/.github/workflows/test_and_lint.yml @@ -16,7 +16,7 @@ jobs: - name: Install dependencies run: | - pip install poetry + curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python poetry install - run: | @@ -34,7 +34,7 @@ jobs: - name: Install dependencies run: | - pip install poetry + curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python poetry install - run: | @@ -52,7 +52,7 @@ jobs: - name: Install dependencies run: | - pip install poetry + curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python poetry install - run: | @@ -70,7 +70,7 @@ jobs: - name: Install dependencies run: | - pip install poetry + curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python poetry install - run: | @@ -89,7 +89,7 @@ jobs: - name: Install dependencies run: | - pip install poetry + curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python poetry install - run: | diff --git a/.releaserc b/.releaserc index 5c828de..e13578c 100644 --- a/.releaserc +++ b/.releaserc @@ -9,9 +9,7 @@ ] }], ["@semantic-release/exec", { - "prepareCmd": "curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python", - }], - ["@semantic-release/exec", { + "shell": "bash", "prepareCmd": "poetry version ${nextRelease.version}", }], "@semantic-release/release-notes-generator",