Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1a16ce0

Browse files
authoredFeb 22, 2024··
Create ci.yml
1 parent 4fdc9b0 commit 1a16ce0

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
 

‎.github/workflows/ci.yml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v4
20+
with:
21+
java-version: '17'
22+
distribution: 'temurin'
23+
cache: 'gradle'
24+
25+
- name: Setup Gradle
26+
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
27+
28+
- name: Build with Gradle Wrapper
29+
run: ./gradlew build
30+
31+
dependency-submission:
32+
33+
runs-on: ubuntu-latest
34+
permissions:
35+
contents: write
36+
37+
steps:
38+
- uses: actions/checkout@v4
39+
- name: Set up JDK 17
40+
uses: actions/setup-java@v4
41+
with:
42+
java-version: '17'
43+
distribution: 'temurin'
44+
45+
- name: Generate and submit dependency graph
46+
uses: gradle/actions/dependency-submission@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0

0 commit comments

Comments
 (0)
Please sign in to comment.