Skip to content

Commit b2d19e0

Browse files
authored
Merge pull request #4 from MyDigiTwinNL/wip/decouplingfromLifelines
NPM package publishing when pushing tags
2 parents 6b6489f + 1366740 commit b2d19e0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ on:
66
- main
77
tags:
88
- 'v*'
9-
9+
1010
jobs:
1111
publish:
1212
runs-on: ubuntu-latest
13+
if: startsWith(github.ref, 'refs/tags/v') # only run on tag pushes
1314

1415
steps:
1516
- name: Checkout repository

0 commit comments

Comments
 (0)