Skip to content

Commit

Permalink
more env sourcing (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
miniconfig authored May 9, 2020
1 parent 5e6ed97 commit 4c765c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
poetry install --no-dev
- name: Build
run: |
source $HOME/.poetry/env
poetry build
- name: Publish Beta to GitHub
uses: softprops/action-gh-release@v0.1.5
Expand All @@ -61,6 +62,7 @@ jobs:
POETRY_HTTP_BASIC_TESTPYPI_USERNAME: __token__
POETRY_HTTP_BASIC_TESTPYPI_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
run: |
source $HOME/.poetry/env
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish -r testpypi
- name: Publish Production Release to GitHub
Expand All @@ -77,4 +79,5 @@ jobs:
POETRY_HTTP_BASIC_PYPI_USERNAME: __token__
POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
source $HOME/.poetry/env
poetry publish

0 comments on commit 4c765c4

Please sign in to comment.