jellyfin-kodi/.github/workflows/build.yaml

40 lines
856 B
YAML
Raw Normal View History

name: Build Jellyfin-Kodi
on:
push:
branches:
- master
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
2024-02-03 21:10:36 +00:00
py_version: [ 'py3' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pyyaml
- name: Create ${{ matrix.py_version }} addon.xml
2021-06-01 19:39:51 +00:00
run: python build.py --version ${{ matrix.py_version }}
- name: Publish Build Artifact
uses: actions/upload-artifact@v3
with:
retention-days: 14
name: ${{ matrix.py_version }}-build-artifact
path: |
*.zip