Skip to content

Commit 05c320c

Browse files
[Feat][SDK- 541] Update release flow (#348)
* refactor: run release step only when we publish a new release * refactor: run release step only when we publish a new release, second try --------- Co-authored-by: chris <[email protected]>
1 parent b0735fd commit 05c320c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ on:
1515
pull_request:
1616
branches: [ master ]
1717

18-
1918
jobs:
2019
validation:
2120
name: Gradle wrapper validation
@@ -31,8 +30,6 @@ jobs:
3130
strategy:
3231
fail-fast: false
3332
matrix:
34-
# Must upgrade Gradle before we can go past Java 15 here.
35-
# https://docs.gradle.org/current/userguide/compatibility.html
3633
java: [ 11, 17 ]
3734
steps:
3835
- uses: actions/checkout@v4
@@ -102,6 +99,7 @@ jobs:
10299
**/build/reports/*
103100
104101
release:
102+
if: github.event_name == 'release'
105103
runs-on: ubuntu-22.04
106104
name: Release
107105
# It would be nice to run this as part of the build job, since it would be

0 commit comments

Comments
 (0)