mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 12:16:12 +00:00
36 lines
720 B
YAML
36 lines
720 B
YAML
name: Build Jellyfin-Kodi
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4.1.1
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5.0.0
|
|
with:
|
|
python-version: 3.9
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install pyyaml
|
|
|
|
- name: Build addon
|
|
run: python build.py
|
|
|
|
- name: Publish Build Artifact
|
|
uses: actions/upload-artifact@v3.1.3
|
|
with:
|
|
retention-days: 14
|
|
name: py3-build-artifact
|
|
path: |
|
|
*.zip
|