Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #130 from Borda/ci/pypi
Browse files Browse the repository at this point in the history
ci: update PyPI release workflow
  • Loading branch information
justusschock authored Feb 22, 2023
2 parents 63595b7 + f2f7eef commit c82dc00
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PypiRelease
name: PyPI Release

on: [push]

Expand All @@ -12,18 +12,16 @@ jobs:

steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: >-
python -m pip install --user --upgrade setuptools wheel
run: python -m pip install -U setuptools wheel build

- name: Build
run: >-
python setup.py sdist bdist_wheel
run: python -m build

- name: Publish distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags')
Expand Down

0 comments on commit c82dc00

Please sign in to comment.