Skip to content

Commit

Permalink
Merge pull request #1 from henrypinkard/main
Browse files Browse the repository at this point in the history
add github action
  • Loading branch information
henrypinkard authored Jul 13, 2024
2 parents be221e2 + 517885c commit bafe32c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish_pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build and Publish to PyPI using Flit

on:
push:
paths:
- 'src/mmpycorex/_version.py'

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flit
- name: Build and publish
run: flit publish

0 comments on commit bafe32c

Please sign in to comment.