forked from fsantini/python-e3dc
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 837 Bytes
/
make_wheel.yml
File metadata and controls
33 lines (27 loc) · 837 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
name: Build Wheel
# run on new version tag
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
job:
name: Build wheel
runs-on: ubuntu-latest
steps:
- name: Prepare python
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Install python dependencies
run: pip install build
- name: Checkout repository
uses: actions/checkout@v5
- name: Build wheel
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}