Skip to content

Commit e1eeea3

Browse files
Add GitHub Action yaml file to trigger application build steps (#24)
Signed-off-by: Matt Peterson <[email protected]>
1 parent 041b9e1 commit e1eeea3

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
##
2+
# Copyright (C) 2024 Hedera Hashgraph, LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
##
16+
17+
name: "Build Application"
18+
on:
19+
push
20+
21+
defaults:
22+
run:
23+
shell: bash
24+
25+
env:
26+
GRADLE_EXEC: ./gradlew
27+
28+
jobs:
29+
compile:
30+
name: "Compilation"
31+
runs-on: [ self-hosted, Linux, medium, ephemeral ]
32+
steps:
33+
- name: Checkout Code
34+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
35+
36+
- name: Setup Java
37+
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
38+
with:
39+
distribution: "temurin"
40+
java-version: "21.0.1"
41+
42+
- name: Compile
43+
id: gradle-build
44+
run: ${GRADLE_EXEC} build

0 commit comments

Comments
 (0)