Skip to content

Commit

Permalink
Update release file
Browse files Browse the repository at this point in the history
  • Loading branch information
pappasam committed Dec 28, 2022
1 parent 62b8bf9 commit 4dcc087
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.10']
poetry-version: ['1.1.13']
pip-version: ['22.0.4']
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Setup, Python ${{ matrix.python-version }}
Expand All @@ -23,14 +21,8 @@ jobs:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
# Set up Python
python -m pip install --upgrade pip==${{ matrix.pip-version }}
# Set up Poetry
curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py > get-poetry.py
python get-poetry.py
rm get-poetry.py
source "$HOME/.poetry/env"
poetry self update ${{ matrix.poetry-version }}
# Release with Poetry
python -m pip install -U pip
python -m pip install wheel
python -m pip install poetry
poetry build
poetry publish --username="$PYPI_USERNAME" --password="$PYPI_PASSWORD"

0 comments on commit 4dcc087

Please sign in to comment.