-
Notifications
You must be signed in to change notification settings - Fork 14
44 lines (42 loc) · 1.06 KB
/
dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Dev Build
on:
workflow_dispatch:
push:
paths:
- ".github/workflows/**"
- "gradle/libs.versions.toml"
- "gradle/wrapper/gradle-wrapper.properties"
- "gradle.properties"
- "**/src/**"
- "**/build.gradle.kts"
- "settings.gradle.kts"
- "gradle.properties"
branches:
- "v4"
pull_request:
branches:
- "v4"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
cache: 'gradle'
- name: Build with Gradle
run: ./gradlew clean build
- uses: actions/upload-artifact@v4
with:
name: 'zmusic-bukkit'
path: zmusic-bukkit/build/libs/*.jar
- uses: actions/upload-artifact@v4
with:
name: 'zmusic-bungee'
path: zmusic-bungee/build/libs/*.jar
- uses: actions/upload-artifact@v4
with:
name: 'zmusic-velocity'
path: zmusic-velocity/build/libs/*.jar