Do release of what was just built

This commit is contained in:
BtbN 2020-09-03 17:19:35 +02:00
parent d942c3164d
commit 6bcebd25f3

View file

@ -85,3 +85,19 @@ jobs:
with: with:
name: ffmpeg name: ffmpeg
path: artifacts/* path: artifacts/*
publish_release:
name: Publish release
needs: build_ffmpeg
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: ffmpeg
parth: artifacts
- name: Create release
run: hub release create $(for a in artifacts/*; do echo -a $a; done) -m "Auto-Build $(date +'%Y-%m-%d %H:%M')" "${GITHUB_REF##*/}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}