Update libde265 #85
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: Update libde265 | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * 2" | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- run: wget -O version.json "https://api.github.com/repos/strukturag/libde265/releases/latest" | |
- name: Get latest version | |
id: version | |
uses: notiz-dev/[email protected] | |
with: | |
path: 'version.json' | |
prop_path: 'tag_name' | |
- run: "sed -i 's/LIBDE265_VERSION=\".*\"$/LIBDE265_VERSION=\"${{steps.version.outputs.prop}}\"/g' Dockerfile" | |
- run: "sed -i 's/\"v/\"/g' Dockerfile" | |
- run: rm version.json | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
with: | |
author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' | |
committer: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' | |
branch: 'github_actions/bump-libde265-${{steps.version.outputs.prop}}' | |
title: 'Bump libde265 to ${{steps.version.outputs.prop}}' | |
commit-message: 'Bump libde265 to ${{steps.version.outputs.prop}}' | |
body: 'https://github.com/strukturag/libde265/releases/tag/${{steps.version.outputs.prop}}' | |
delete-branch: true | |
token: ${{ secrets.PAT }} |