name: Build Jellyfin-Kodi on: push: branches: - master tags: - '*' jobs: build: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4.1.6 - name: Set up Python uses: actions/setup-python@v5.0.0 with: python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install pyyaml - name: Build addon run: python build.py - name: Publish Build Artifact uses: actions/upload-artifact@v3.1.3 with: retention-days: 14 name: py3-build-artifact path: | *.zip