[CI] auto update yt_dlp to upstream commit b83ca24eb72e1e558b0185bd73… #783
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-publish-addon | |
on: | |
push: | |
branches: | |
- master | |
env: | |
VERSION: 'undefined' | |
TOKEN: ${{secrets.PAT}} | |
jobs: | |
versioning: | |
runs-on: ubuntu-latest | |
outputs: | |
VERSION: ${{ steps.tag_version.outputs.new_version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Bump version and push tag | |
id: tag_version | |
uses: mathieudutour/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
release_branches: master | |
build-leia: | |
needs: versioning | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build addon | |
run: $GITHUB_WORKSPACE/.github/scripts/build-addon.sh ${{ needs.versioning.outputs.VERSION }} Leia | |
- name: Upload Addon-artifacts-Leia | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Addon-artifacts-Leia | |
path: "${{ runner.temp }}/Leia/*.zip" | |
build-matrix: | |
needs: versioning | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build addon | |
run: $GITHUB_WORKSPACE/.github/scripts/build-addon.sh ${{ needs.versioning.outputs.VERSION }} Matrix | |
- name: Upload Addon-artifacts-Matrix | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Addon-artifacts-Matrix | |
path: "${{ runner.temp }}/Matrix/*.zip" | |
publish-leia: | |
needs: [versioning, build-leia] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
name: Addon-artifacts-Leia | |
- name: Publish addon | |
run: $GITHUB_WORKSPACE/.github/scripts/publish-addon.sh ${{ needs.versioning.outputs.VERSION }} "github.com/firsttris/repository.sendtokodi.git" | |
publish-matrix: | |
needs: [versioning, build-matrix] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
name: Addon-artifacts-Matrix | |
- name: Publish addon | |
run: $GITHUB_WORKSPACE/.github/scripts/publish-addon.sh ${{ needs.versioning.outputs.VERSION }} "github.com/firsttris/repository.sendtokodi.python3.git" |