-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 954 Bytes
/
publish.yml
File metadata and controls
30 lines (29 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Polypheny-DB Adapter Matrix CI
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/ipython-polypheny
name: Build & Publish To PyPI
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Build Package
run: |
python -m pip install --upgrade build
python -m build
# add github release
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/
password: ${{ secrets.PYPI_API_TOKEN }}
#repository_url: https://pypi.org/legacy/