Skip to content

Bump action versions #15

Bump action versions

Bump action versions #15

Workflow file for this run

name: Build and publish to PyPI
on:
push:
branches:
- main
release:
types:
- published
jobs:
publish:
if: github.repository == 'mikepqr/real-estate-scrape'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build binary wheel and source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
- name: Publish to PyPI
if: github.event.action == 'published'
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}