We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a906ba commit 7d91952Copy full SHA for 7d91952
.github/workflows/ci-discord-bot.yml
@@ -0,0 +1,36 @@
1
+name: CI - discord_bot (Gradle)
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - "discord_bot/**"
7
+ - ".github/workflows/ci-discord-bot.yml"
8
+ pull_request:
9
10
11
12
13
+jobs:
14
+ build:
15
+ runs-on: ubuntu-latest
16
17
+ defaults:
18
+ run:
19
+ working-directory: discord_bot
20
21
+ steps:
22
+ - name: Checkout
23
+ uses: actions/checkout@v4
24
25
+ - name: Set up JDK 17
26
+ uses: actions/setup-java@v4
27
+ with:
28
+ distribution: temurin
29
+ java-version: "17"
30
+ cache: gradle
31
32
+ - name: Grant execute permission
33
+ run: chmod +x gradlew
34
35
+ - name: Build project
36
+ run: ./gradlew clean build --no-daemon
0 commit comments