Skip to content

Commit 4e43440

Browse files
authored
add build action
1 parent fd0dcea commit 4e43440

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
- name: set up JDK 21
12+
uses: actions/setup-java@v3
13+
with:
14+
distribution: 'temurin'
15+
java-version: '21'
16+
- name: grant execute permission for gradlew
17+
run: chmod +x gradlew
18+
- name: build with gradle
19+
run: ./gradlew build
20+
- name: capture build artifacts
21+
uses: actions/upload-artifact@v3
22+
with:
23+
name: artifacts
24+
path: build/libs/

0 commit comments

Comments
 (0)