Extract podcast metadata from tags and sidecar files
This commit is contained in:
20
.gitea/workflows/ci.yml
Normal file
20
.gitea/workflows/ci.yml
Normal file
@ -0,0 +1,20 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["**"]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/mopidy/ci:7
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install package and test dependencies
|
||||
run: python -m pip install -e ".[test]"
|
||||
|
||||
- name: Run tests
|
||||
run: python -m pytest
|
||||
@ -30,6 +30,13 @@ jobs:
|
||||
- name: Build sdist and wheel
|
||||
run: python -m build
|
||||
|
||||
- name: Build release zip
|
||||
run: |
|
||||
set -euo pipefail
|
||||
VERSION="${{ gitea.ref_name }}"
|
||||
cd dist
|
||||
zip "Mopidy-Webhooks-${VERSION}.zip" *.tar.gz
|
||||
|
||||
- name: Publish to Gitea release
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA }}
|
||||
|
||||
Reference in New Issue
Block a user