Skip to content

Commit

Permalink
Merge pull request #17 from PrismPipeline/pypi
Browse files Browse the repository at this point in the history
Pypi publish
  • Loading branch information
manuelkoester authored Aug 6, 2023
2 parents e5940a6 + 269d2a9 commit e673492
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish QuiltiX 📦 to PyPi

on:
release:
types: [published]

permissions:
contents: read

jobs:
deploy:
# TODO: Platform matrix
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version-file: 'pyproject.toml'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit e673492

Please sign in to comment.