-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (47 loc) · 1.18 KB
/
build-dynamicspawncontrol-1.12.2.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
45
46
47
48
49
50
51
52
53
54
55
56
57
name: 'Build DynamicSpawnControl (1.12.2)'
on:
push:
branches:
- '**'
paths:
- '.github/workflows/build-dynamicspawncontrol-1.12.2.yml'
- 'dynamicspawncontrol-1.12.2/**'
- '!**/*.md'
- '!**/LICENSE*'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/build-dynamicspawncontrol-1.12.2.yml'
- 'dynamicspawncontrol-1.12.2/**'
- '!**/*.md'
- '!**/LICENSE*'
defaults:
run:
shell: bash
working-directory: 'dynamicspawncontrol-1.12.2/'
jobs:
build-modification:
name: 'Build modification'
strategy:
matrix:
system:
- ubuntu-latest
runs-on: ${{ matrix.system }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
- name: Build modification
run: ./gradlew build
- name: Upload modification
uses: actions/upload-artifact@v4
with:
name: dynamicspawncontrol-${{ github.sha }}
path: dynamicspawncontrol-1.12.2/build/libs/