-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (29 loc) · 915 Bytes
/
release.yml
File metadata and controls
38 lines (29 loc) · 915 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
31
32
33
34
35
36
37
38
name: PyPIRelease
on:
push:
tags:
- '*'
defaults:
run:
shell: bash
jobs:
release:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v2
- name: Set up Python
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
with:
python-version: 3.8
- name: Install Dependencies for Building Wheels
run: pip install wheel
# - name: Install Dependent Packages
# run: pip install .
# # note that this is not necessary for building the package, it just ensures compatability
- name: Build the Wheel
run: rm -rf dist/ build/ && python3 setup.py bdist_wheel sdist
- name: Deploy on Test PyPi
uses: pypa/gh-action-pypi-publish@37f50c210e3d2f9450da2cd423303d6a14a6e29f # v1.5.1
with:
user: __token__
password: ${{ secrets.PYPIPW }}