mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-06-12 05:17:39 +02:00
Update Wiki-Page with latest releases
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -134,14 +134,20 @@ jobs:
|
||||
name: ffmpeg
|
||||
path: artifacts
|
||||
- name: Create release
|
||||
id: create_release
|
||||
run: |
|
||||
set -xe
|
||||
NAME="Auto-Build $(date +'%Y-%m-%d %H:%M')"
|
||||
TAGNAME="autobuild-$(date +'%Y-%m-%d-%H-%M')"
|
||||
hub release create $(for a in artifacts/*; do echo -a $a; done) -m "$NAME" -t "master" "$TAGNAME"
|
||||
hub release create $(for a in artifacts/*.zip; do echo -a $a; done) -m "$NAME" -t "master" "$TAGNAME"
|
||||
echo "::set-output name=tag_name::${TAGNAME}"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
- name: Update Wiki
|
||||
run: ./util/update_wiki.sh artifacts ${{ steps.create_release.outputs.tag_name }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
- name: Prune old releases
|
||||
run: ./util/prunetags.sh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
Reference in New Issue
Block a user