From 6bcebd25f3b64cbc6654374f60fcf35f407f7cfa Mon Sep 17 00:00:00 2001 From: BtbN Date: Thu, 3 Sep 2020 17:19:35 +0200 Subject: [PATCH] Do release of what was just built --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1163aae..b1cb6cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,3 +85,19 @@ jobs: with: name: ffmpeg 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 }}