We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 772e3b3 commit d524568Copy full SHA for d524568
.github/workflows/pypi_upload.yaml
@@ -0,0 +1,25 @@
1
+name: PYPI Upload
2
+
3
+on:
4
+ - workflow_dispatch
5
6
+jobs:
7
+ pypi_upload:
8
+ name: pypi-upload
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v2
13
+ - name: Setup Python
14
+ uses: actions/setup-python@v1
15
+ with:
16
+ python-version: 3.9
17
+ - name: Build Package
18
+ run: |
19
+ pip install wheel
20
+ python setup.py sdist bdist_wheel
21
+ - name: Publish to PyPI
22
+ uses: pypa/gh-action-pypi-publish@master
23
24
+ user: __token__
25
+ password: ${{ secrets.PYPI_API_TOKEN }}
.github/workflows/build.yaml renamed to .github/workflows/tests.yaml
@@ -1,12 +1,12 @@
-name: build
+name: tests
on:
- push
- pull_request
jobs:
test:
- name: build
+ name: tests
runs-on: ubuntu-latest
strategy:
matrix:
0 commit comments