File tree Expand file tree Collapse file tree 2 files changed +38
-16
lines changed
Expand file tree Collapse file tree 2 files changed +38
-16
lines changed Original file line number Diff line number Diff line change 1+ name : Build and release
2+
3+ on : push
4+
5+ jobs :
6+ build :
7+ name : Build
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ - name : Install uv
12+ uses : astral-sh/setup-uv@v6
13+ - name : Build
14+ run : uv build
15+ - name : Upload distribution artifacts
16+ uses : actions/upload-artifact@v4
17+ with :
18+ name : python-package-distributions
19+ path : dist/
20+ publish :
21+ name : Publish to PyPI
22+ if : startsWith(github.ref, 'refs/tags/')
23+ needs :
24+ - build
25+ runs-on : ubuntu-latest
26+ environment :
27+ name : pypi
28+ url : https://pypi.org/p/beets-mpdqueue
29+ permissions :
30+ id-token : write
31+ steps :
32+ - name : Download distribution
33+ uses : actions/download-artifact@v4
34+ with :
35+ name : python-package-distributions
36+ path : dist/
37+ - name : Publish distribution to PyPI
38+ uses : pypa/gh-action-pypi-publish@release/v1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments