From bec0c8766226c17ce80164cdf3920548fe82698e Mon Sep 17 00:00:00 2001 From: Alex Ostrovski Date: Sun, 17 Sep 2023 10:49:56 +0300 Subject: [PATCH] Allow to trigger release workflow manually --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c78903..d1c8a8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ name: Release on: push: tags: [ "v*" ] + workflow_dispatch: {} defaults: run: @@ -68,7 +69,14 @@ jobs: REF: ${{ github.ref }} - name: Publish archive uses: softprops/action-gh-release@v1 + if: github.event_name == "push" with: draft: false files: ${{ steps.package.outputs.archive }} prerelease: ${{ steps.release-type.outputs.type == 'prerelease' }} + - name: Attach archive to action + uses: actions/upload-artifact@v3 + if: github.event_name == "workflow_dispatch" + with: + name: term-transcript-${{ matrix.target }} + path: ${{ steps.package.outputs.archive }}