Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leifgehrmann committed Jun 21, 2024
1 parent 3afa0e6 commit 628bc0b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
name: Publish

on:
workflow_dispatch:

jobs:
pypi-publish:
name: upload release to PyPI
Expand All @@ -6,12 +11,20 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Create dist
run: |
make dist
pwd
ls -l .
python setup.py sdist
ls -l .
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 628bc0b

Please sign in to comment.