Merge pull request #813 from jellyfin/renovate/codecov-codecov-action… #273
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Jellyfin-Kodi | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
py_version: [ 'py3' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v4 | |
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 | |
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 |