Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit 7deccfd

Browse files
GitHub Actions workflow
1 parent 4d2a63b commit 7deccfd

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/main.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@master
15+
- name: Setup Python
16+
uses: actions/setup-python@master
17+
with:
18+
python-version: 3.x
19+
architecture: x64
20+
- name: Build a source distribution
21+
run: python setup.py sdist
22+
- name: Publish to prod PyPI
23+
uses: pypa/gh-action-pypi-publish@master
24+
with:
25+
user: __token__
26+
password: ${{ secrets.pypi_token }}

0 commit comments

Comments
 (0)