Skip to content

Commit

Permalink
include ML
Browse files Browse the repository at this point in the history
  • Loading branch information
minhh2792 committed Feb 28, 2024
1 parent 43fa74c commit e942b15
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Build
on:
push:
branches:
- master
on: push

jobs:
build:
Expand All @@ -15,14 +12,24 @@ jobs:
distribution: temurin
java-version: 17
cache: "gradle"
- name: Build DotMan

- name: Get MineVNLib latest commit sha
uses: nmbgeek/github-action-get-latest-commit@main
with:
owner: minhh2792
repo: minevn-library
branch: master
id: minevnlib

- name: Build DotMan & download ML
run: |
chmod +x ./gradlew
./gradlew assemble
mkdir -p target
cp ./dotman-plugin/build/libs/DotMan.jar ./target/DotMan.jar
wget "https://github.com/minhh2792/minevn-library/releases/download/${{ steps.minevnlib.outputs.shorthash }}/MineVNLib.jar -O ./target/MineVNLib.jar"
- name: Upload build artifact
uses: actions/[email protected]
with:
name: "DotMan"
path: ./target/DotMan.jar
path: ./target/

0 comments on commit e942b15

Please sign in to comment.