From 67185c42343b2fa8a06ad3f3bc231f628608ef95 Mon Sep 17 00:00:00 2001 From: Hug0-Drelon Date: Wed, 11 Oct 2023 12:24:34 +0200 Subject: [PATCH] Allow to build zip on demand. --- .github/workflows/build-release-zip-file.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-release-zip-file.yml b/.github/workflows/build-release-zip-file.yml index 15c8fcf..a755217 100644 --- a/.github/workflows/build-release-zip-file.yml +++ b/.github/workflows/build-release-zip-file.yml @@ -1,9 +1,13 @@ name: Build release zip on: + ## Build and upload zip on new release. release: types: [published] + ## Build zip on demand. + workflow_dispatch: + jobs: build: name: Generate zip and upload it to GitHub release @@ -42,6 +46,7 @@ jobs: SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - name: Upload release asset + if: github.event_name == 'release' ## Don't upload zip if no release is created. uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}