Skip to content

Commit

Permalink
Add PyPI publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
acroucher committed Feb 13, 2024
1 parent 53124ff commit b2cfaa0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and publish PyTOUGH to PyPI

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install setuptools wheel build
- name: Build
run: |
python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit b2cfaa0

Please sign in to comment.