-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (33 loc) · 809 Bytes
/
build-dev.yml
File metadata and controls
33 lines (33 loc) · 809 Bytes
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
name: Build Dev
on:
push:
branches:
- dev
pull_request:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Fix gradlew permissions
run: chmod +x ./gradlew
- name: Build plugin jar files with Gradle
run: ./gradlew :shadowJarAll
- name: Copy artifacts
run: |
mkdir artifacts
cp ./build/ScriptableMC-Engine-JS.jar ./artifacts/
cp ./build/ScriptableMC-Engine-JS-Bundled.jar ./artifacts/
- uses: actions/upload-artifact@v2
with:
name: ScriptableMC-Engine-DEV
path: artifacts/