Skip to content

Commit 97007b4

Browse files
committed
Add mod build workflow
1 parent 156fde0 commit 97007b4

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/mod.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build mlogv32-utils
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-java@v4
17+
with:
18+
distribution: temurin
19+
java-version: 17
20+
21+
- uses: gradle/actions/setup-gradle@v4
22+
23+
- name: Build mod
24+
working-directory: mod
25+
run: ./gradlew build
26+
27+
- name: Upload build artifact
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: build
31+
path: mod/build/libs/*-mod.jar
32+
if-no-files-found: error

mod/gradlew

100644100755
File mode changed.

0 commit comments

Comments
 (0)