diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 3ab534c..21593fa 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -14,6 +14,7 @@ jobs: - name: Clone repository uses: GuillaumeFalourd/clone-github-repo-action@main with: + branch: 'master' # fuck this political bullshitshit, took me an hour to fix this owner: 'TopchetoEU' repository: 'java-jscript' - name: "Build" diff --git a/build.js b/build.js index 774fabe..34ab125 100644 --- a/build.js +++ b/build.js @@ -69,7 +69,6 @@ async function compileJava() { try { try { await fs.rm('dst', { recursive: true }); } catch {} await copy('src', 'dst/classes', v => !v.endsWith('.java')); - await run('tsc', '-p', 'lib/tsconfig.json', '--outFile', 'dst/classes/me/topchetoeu/jscript/js/core.js'), await compileJava(); await run('jar', '-c', '-f', 'dst/jscript.jar', '-e', 'me.topchetoeu.jscript.Main', '-C', 'dst/classes', '.'); }