2021-06-01 19:26:59 +00:00
|
|
|
name: Build Jellyfin-Kodi
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2024-10-23 16:11:50 +00:00
|
|
|
uses: actions/checkout@v4.2.2
|
2021-06-01 19:26:59 +00:00
|
|
|
|
2024-02-05 17:38:01 +00:00
|
|
|
- name: Set up Python
|
2024-10-24 17:02:51 +00:00
|
|
|
uses: actions/setup-python@v5.3.0
|
2021-06-01 19:26:59 +00:00
|
|
|
with:
|
|
|
|
python-version: 3.9
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
python -m pip install --upgrade pip
|
|
|
|
python -m pip install pyyaml
|
|
|
|
|
2024-02-05 17:38:01 +00:00
|
|
|
- name: Build addon
|
|
|
|
run: python build.py
|
2021-06-01 19:26:59 +00:00
|
|
|
|
|
|
|
- name: Publish Build Artifact
|
2024-12-18 02:59:52 +00:00
|
|
|
uses: actions/upload-artifact@v4.5.0
|
2021-06-01 19:26:59 +00:00
|
|
|
with:
|
|
|
|
retention-days: 14
|
2024-02-05 17:38:01 +00:00
|
|
|
name: py3-build-artifact
|
2021-06-01 19:26:59 +00:00
|
|
|
path: |
|
|
|
|
*.zip
|