Skip to content

Commit 5d7497c

Browse files
authored
Merge pull request #158 from igorbolic/skip-jdk-versions-build
Skip JDK matrix build once the pull request is merged into master
2 parents f2bbcda + 4369c65 commit 5d7497c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ jobs:
2222
- java: 17
2323
sonar: false
2424
name: Build
25-
if: github.repository == 'sixhours-team/memcached-spring-boot'
25+
# Skip main build (JDK versions build) once the pull request is merged into master.
26+
# Once PR is merged the release-snapshot action should handle the SNAPSHOT
27+
# build and release, and publish the Sonar analysis.
28+
if: github.repository == 'sixhours-team/memcached-spring-boot' && github.event.pull_request.merged == false
2629
runs-on: ubuntu-latest
2730
steps:
2831
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)