Skip to content

Commit da3b758

Browse files
committed
GitHub: Add Actions
1 parent 7af9f64 commit da3b758

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/cicd-build.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI/CD Build
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
- 'feature/**'
8+
pull_request:
9+
branches:
10+
- 'main'
11+
12+
jobs:
13+
14+
build:
15+
runs-on: ubuntu-20.04
16+
permissions:
17+
contents: read
18+
packages: write
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v2
23+
24+
- name: Set up JDK 17
25+
uses: actions/setup-java@v2
26+
with:
27+
java-version: '17'
28+
distribution: 'adopt'
29+
30+
- name: Build with Gradle
31+
run: ./gradlew clean build

0 commit comments

Comments
 (0)