Skip to content

Commit d3de7ee

Browse files
authored
Merge pull request #186 from dduportal/fix/tag-build
Improve workflow trigger for release
2 parents b2ce08b + c1ed686 commit d3de7ee

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
name: CI
2-
on: [ push, pull_request ]
2+
on:
3+
## Events from external actor, or from code pushed (includes tags pushed)
4+
push:
5+
pull_request:
6+
## Events from the GitHub UI (as when publishing a release)
7+
# When a release is "released" (draft or released published, no pre-release) - https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads#release
8+
release:
9+
types: [released]
10+
# When a tag or branch is created in the GitHub UI
11+
create:
312
jobs:
413
build:
514
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)