mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 09:33:46 +01:00
Release workflow: Use poetry to build the package
This commit is contained in:
parent
f964aa89c9
commit
0a1bddd99e
1 changed files with 6 additions and 11 deletions
17
.github/workflows/make_release.yaml
vendored
17
.github/workflows/make_release.yaml
vendored
|
|
@ -37,22 +37,17 @@ jobs:
|
|||
message: "Increment version to ${{ env.NEW_VERSION }}"
|
||||
|
||||
build:
|
||||
name: Build the distribution packages
|
||||
runs-on: ubuntu-latest
|
||||
needs: increment-version
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: master
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- run: pip install build wheel sphinx
|
||||
- name: Install Python tools
|
||||
uses: BrandonLWhite/pipx-install-action@v0.1.1
|
||||
|
||||
- name: Build a binary wheel and a source tarball
|
||||
env:
|
||||
TZ: UTC
|
||||
run: python3 -m build
|
||||
run: poetry build
|
||||
|
||||
- name: Store the distribution packages
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue