[CI] auto update yt_dlp to upstream commit d63eae7e7ffb1f3e733e552b9e… #611
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@v2 | |
- name: Bump version and push tag | |
id: tag_version | |
uses: mathieudutour/github-tag-action@v5.6 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
release_branches: master | |
build-leia: | |
needs: versioning | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- 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@v2 | |
with: | |
name: Addon-artifacts-Leia | |
path: "${{ runner.temp }}/Leia/*.zip" | |
build-matrix: | |
needs: versioning | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- 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@v2 | |
with: | |
name: Addon-artifacts-Matrix | |
path: "${{ runner.temp }}/Matrix/*.zip" | |
publish-leia: | |
needs: [versioning, build-leia] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/download-artifact@v2 | |
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@v2 | |
- uses: actions/download-artifact@v2 | |
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" |