Skip to content

Commit

Permalink
attempted fix for release github action (#18)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Lloyd <[email protected]>
  • Loading branch information
jlloyd-widen and Josh Lloyd authored Apr 13, 2022
1 parent 8448c4f commit a18ff2a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.1.13
- name: Install dependencies
run: |
python -m pip install pipx
python -m pipx ensurepath
python -m pipx install poetry
# Force update PATH to include pipx executables
export PATH=$PATH:/root/.local/bin
# Create virtual environment and install dependencies
poetry env use python
poetry install --no-root
- name: Build package
Expand All @@ -32,4 +30,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN_PROD }}
password: ${{ secrets.PYPI_API_TOKEN_PROD }}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ keywords = [
license = "Apache 2.0"
homepage = "https://github.com/Widen/tap-rest-api-msdk"
repository = "https://github.com/Widen/tap-rest-api-msdk"
readme = "README.md"

[tool.poetry.dependencies]
python = "<3.10,>=3.6.2"
Expand Down

0 comments on commit a18ff2a

Please sign in to comment.