Merge pull request #1 from OtterCodes101/main
Add Github Action for compiling and make EPKCompiler export as resources.mc instead of resources.epk
This commit is contained in:
commit
c521a6cf3b
20
.github/workflows/build.yml
vendored
Normal file
20
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Build with Gradle
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-gradle-project:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout project sources
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/gradle-build-action@v2
|
||||||
|
- name: Run build with Gradle Wrapper
|
||||||
|
run: ./gradlew teavm
|
||||||
|
- name: Export data
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: web
|
||||||
|
path: js/*
|
|
@ -1,2 +1,2 @@
|
||||||
@echo off
|
@echo off
|
||||||
java -jar CompilePackage.jar "../../resources" "../../js/resources.epk"
|
java -jar CompilePackage.jar "../../resources" "../../js/resources.mc"
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
java -jar CompilePackage.jar "../../resources" "../../js/resources.epk"
|
java -jar CompilePackage.jar "../../resources" "../../js/resources.mc"
|
Loading…
Reference in New Issue
Block a user