iufdghoieqr

This commit is contained in:
TopchetoEU 2023-08-26 11:41:28 +03:00
parent 136dda805a
commit 2cf10d93fa
No known key found for this signature in database
GPG Key ID: 24E57B2E9C61AD19

View File

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