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-06-10 03:39:05 +00:00
|
|
|
uses: actions/checkout@v4.1.6
|
2021-06-01 19:26:59 +00:00
|
|
|
|
2024-02-05 17:38:01 +00:00
|
|
|
- name: Set up Python
|
2024-06-10 03:39:08 +00:00
|
|
|
uses: actions/setup-python@v5.1.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-06-10 03:56:59 +00:00
|
|
|
uses: actions/upload-artifact@v4.3.3
|
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
|