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-07-10 15:03:51 +00:00
|
|
|
uses: actions/setup-python@v5.1.1
|
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-07-05 16:55:28 +00:00
|
|
|
uses: actions/upload-artifact@v4.3.4
|
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
|