File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build wheels
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ name : Build wheels
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v6
11+ - name : Setup Python
12+ uses : actions/setup-python@v6
13+ with :
14+ python-version : 3.14
15+ - name : Install build
16+ run : |
17+ python -m pip install --upgrade pip
18+ pip install build
19+
20+ - name : Build
21+ run :
22+ python3 -m build
23+
24+ - uses : actions/upload-artifact@v7
25+ with :
26+ name : package-dist
27+ path : dist
28+
29+ upload :
30+ name : Upload wheels and sdist
31+ runs-on : ubuntu-latest
32+
33+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
34+ needs : [build]
35+ environment :
36+ name : pypi
37+ url : https://pypi.org/p/basil-daq/
38+ permissions :
39+ id-token : write
40+
41+ steps :
42+ - uses : actions/download-artifact@v8
43+ with :
44+ name : package-dist
45+ path : dist
46+ - uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments