Skip to content

Commit 75132fe

Browse files
authored
Merge pull request #25 from didx-xyz/issue_24/build_pipeline_bug
Change github workflows to only run for tagged versions (release created)
2 parents cc39ea7 + 84832e6 commit 75132fe

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: 'CI'
22
on:
3-
push:
4-
tags:
5-
- 'v.*'
3+
release:
4+
types: [created]
65

76
jobs:
87
release:

.github/workflows/python-test-publish.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,8 @@ name: Upload Python Package
66
on:
77
# Trigger the workflow on push or pull request,
88
# but only for the main branch
9-
push:
10-
branches:
11-
- main
12-
pull_request:
13-
branches:
14-
- main
9+
release:
10+
types: [created]
1511

1612
jobs:
1713
deploy:

0 commit comments

Comments
 (0)