Skip to content

Commit b3658b1

Browse files
pypi-publish CI
1 parent 90a443a commit b3658b1

File tree

2 files changed

+24
-118
lines changed

2 files changed

+24
-118
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out repository code
12+
uses: actions/checkout@v3
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v3
16+
17+
- name: Building Project
18+
run: python setup.py sdist
19+
20+
- name: Publish Package and create Tag and Releases
21+
uses: Commandcracker/pypi-publish@v1
22+
with:
23+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
24+
github_token: ${{ secrets.GITHUB_TOKEN }}

releass.py

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)