fix: resturcture build pipeline

This commit is contained in:
2023-08-29 11:49:27 +03:00
parent a1e07a8046
commit d1b37074a6
10 changed files with 175 additions and 111 deletions

View File

@@ -18,13 +18,7 @@ jobs:
repository: 'java-jscript'
- name: "Build"
run: |
cd java-jscript;
ls;
mkdir -p dst/classes;
rsync -av --exclude='*.java' src/ dst/classes;
tsc --outDir dst/classes/me/topchetoeu/jscript/js --declarationDir dst/classes/me/topchetoeu/jscript/dts;
find src -name "*.java" | xargs javac -d dst/classes;
jar -c -f dst/jscript.jar -e me.topchetoeu.jscript.Main -C dst/classes .
cd java-jscript; node ./build.js
- uses: "marvinpinto/action-automatic-releases@latest"
with: