mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 05:26:37 +00:00
Follow yt-dlp/FFmpeg-Builds/releases
automatically
This commit is contained in:
parent
c1cc71691a
commit
f5a30c218b
16
.github/workflows/ci.yaml
vendored
16
.github/workflows/ci.yaml
vendored
@ -39,6 +39,20 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
steps:
|
steps:
|
||||||
|
- name: Set environment variables with GitHub CLI
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
{
|
||||||
|
# Fetch the latest+1 release from yt-dlp/FFmpeg-Builds
|
||||||
|
var='FFMPEG_DATE' ;
|
||||||
|
delim='"'"${var}"'_EOF"' ;
|
||||||
|
jq_arg='.[1].tag_name[10:]' ;
|
||||||
|
printf -- '%s<<%s\n' "${var}" "${delim}" ;
|
||||||
|
gh api repos/yt-dlp/FFmpeg-Builds/releases --cache 12h --jq "${jq_arg}" ;
|
||||||
|
printf -- '%s\n' "${delim}" ;
|
||||||
|
unset -v delim jq_arg var ;
|
||||||
|
} >> "${GITHUB_ENV}"
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
@ -66,3 +80,5 @@ jobs:
|
|||||||
cache-to: type=inline
|
cache-to: type=inline
|
||||||
build-args: |
|
build-args: |
|
||||||
IMAGE_NAME=${{ env.IMAGE_NAME }}
|
IMAGE_NAME=${{ env.IMAGE_NAME }}
|
||||||
|
FFMPEG_DATE=${{ env.FFMPEG_DATE }}
|
||||||
|
FFMPEG_VERSION=N
|
||||||
|
Loading…
Reference in New Issue
Block a user