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-12 21:28:59 +00:00
|
|
|
uses: actions/checkout@v4.1.7
|
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-10-09 18:49:07 +00:00
|
|
|
uses: actions/upload-artifact@v4.4.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
|