Skip to content

Commit

Permalink
Allow to build zip on demand.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hug0-Drelon committed Oct 11, 2023
1 parent d5f4176 commit 67185c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-release-zip-file.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 67185c4

Please sign in to comment.