From afb99ffc70371a6ec668945a4b9974b19c9194e1 Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Thu, 11 Jan 2024 10:52:18 +0200 Subject: [PATCH] action attempt 1 --- .github/workflows/tagged-release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 2147ab1..ef8a367 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -16,15 +16,17 @@ jobs: with: distribution: 'adopt' java-version: '11' + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 - name: Clone repository uses: GuillaumeFalourd/clone-github-repo-action@main with: - branch: 'master' # fuck this political bullshitshit, took me an hour to fix this + branch: 'master' owner: 'TopchetoEU' repository: 'java-jscript' - - name: "Build" + - name: Build run: | - cd java-jscript; node ./build.js release ${{ github.ref }} + cd java-jscript; gradle build - uses: "marvinpinto/action-automatic-releases@latest" with: @@ -32,4 +34,4 @@ jobs: prerelease: false files: | java-jscript/LICENSE - java-jscript/dst/*.jar \ No newline at end of file + java-jscript/build/libs/*.jar \ No newline at end of file