Skip to content

Commit 9f5ca42

Browse files
nishaatrJackPGreen
andauthored
Migrate Jenkins PR builder to GitHub Action [DI-336] (#674)
This came about at the back of removing Code Samples from Platform releases https://hazelcast.atlassian.net/browse/DI-313 Fixes: https://hazelcast.atlassian.net/browse/DI-336 --------- Co-authored-by: Jack Green <[email protected]>
1 parent 6f418b4 commit 9f5ca42

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/builder.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Builder
2+
3+
on:
4+
pull_request_target:
5+
6+
jobs:
7+
pr-builder:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Code
11+
uses: actions/checkout@v4
12+
- name: Set up Java
13+
uses: actions/setup-java@v4
14+
with:
15+
java-version: 17
16+
distribution: temurin
17+
- name: Build and test
18+
run: |
19+
set ${RUNNER_DEBUG:+-x}
20+
mvn \
21+
--batch-mode \
22+
--errors \
23+
--no-transfer-progress \
24+
${RUNNER_DEBUG:+--show-version} \
25+
"-Dhazelcast.enterprise.license.key=${{ secrets.HAZELCAST_ENTERPRISE_KEY_V7 }}" \
26+
package

0 commit comments

Comments
 (0)