Do release of what was just built
This commit is contained in:
parent
d942c3164d
commit
6bcebd25f3
1 changed files with 16 additions and 0 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue