Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 336e3cd

Browse files
authored
Create build.yml
1 parent 6fe91f4 commit 336e3cd

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
7+
8+
name: build
9+
on: [pull_request, push]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up JDK 17
20+
uses: actions/setup-java@v3
21+
with:
22+
java-version: '17'
23+
distribution: 'temurin'
24+
- name: Validate Gradle wrapper
25+
uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4
26+
- name: Build with Gradle
27+
uses: gradle/gradle-build-action@982da8e78c05368c70dac0351bb82647a9e9a5d2
28+
with:
29+
arguments: build
30+
- uses: actions/upload-artifact@v4
31+
with:
32+
name: Artifacts
33+
path: build/libs

0 commit comments

Comments
 (0)