Skip to content

Commit

Permalink
Merge pull request #20 from pappasam/update-server
Browse files Browse the repository at this point in the history
Update GitHub release script so it works
  • Loading branch information
pappasam authored Feb 3, 2023
2 parents 4940eae + 761d004 commit e5f06f7
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.9']
poetry-version: ['1.1.6']
pip-version: ['21.1.1']
python-version: ['3.11']
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 e5f06f7

Please sign in to comment.