Skip to content

Commit

Permalink
👷 workaround the deprecated set-env
Browse files Browse the repository at this point in the history
  • Loading branch information
yhino committed Dec 14, 2020
1 parent c7f6937 commit b70d7c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,21 @@ jobs:
- name: Install poetry
run: |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
echo "::set-env name=PATH::$HOME/.poetry/bin:$PATH"
source $HOME/.poetry/env
- name: Install dependencies
run: |
source $HOME/.poetry/env
poetry install --no-dev
- name: Build package
run: |
source $HOME/.poetry/env
poetry build
- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: |
source $HOME/.poetry/env
poetry publish

0 comments on commit b70d7c8

Please sign in to comment.