forked from Qortal/q-shop
ci: run build on push, PRs, tags, and releases
This commit is contained in:
@@ -1,9 +1,19 @@
|
||||
name: build-and-zip
|
||||
|
||||
on:
|
||||
# Build on any branch push and on version tags (v*)
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
tags:
|
||||
- 'v*'
|
||||
# Build on any pull request (any source/target branches)
|
||||
pull_request:
|
||||
branches:
|
||||
- '**'
|
||||
# Also build on release events in Gitea
|
||||
release:
|
||||
types: [published, created]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -33,4 +43,3 @@ jobs:
|
||||
with:
|
||||
name: dist
|
||||
path: dist.zip
|
||||
|
||||
|
||||
Reference in New Issue
Block a user