Skip to content

Commit 18bb5ae

Browse files
committed
refactor: run release step only when we publish a new release, second try
1 parent 46cc715 commit 18bb5ae

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ on:
1414
branches: [ master ]
1515
pull_request:
1616
branches: [ master ]
17-
release:
18-
types: [published]
1917

2018
jobs:
2119
validation:
@@ -101,6 +99,7 @@ jobs:
10199
**/build/reports/*
102100
103101
release:
102+
if: github.event_name == 'release'
104103
runs-on: ubuntu-22.04
105104
name: Release
106105
# It would be nice to run this as part of the build job, since it would be

0 commit comments

Comments
 (0)