From 7a8a7070c34929877d14d124f906d250a45a048a Mon Sep 17 00:00:00 2001 From: TopchetoEU Date: Wed, 1 Jan 2025 21:11:22 +0000 Subject: [PATCH] Update .github/workflows/build.yml --- .github/workflows/build.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae476c6..7799495 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,16 +13,15 @@ jobs: - name: Setup Java uses: actions/setup-java@v3 with: - distribution: 'adopt' java-version: '17' - name: Setup Gradle uses: gradle/gradle-build-action@v2 - name: Clone repository - uses: GuillaumeFalourd/clone-github-repo-action@main - with: - branch: 'master' - owner: 'TopchetoEU' - repository: 'java-jscript' + uses: actions/checkout@v2 - name: Build - run: | - cd java-jscript; gradle build \ No newline at end of file + run: ./gradlew build + - name: Capture build artifacts + uses: actions/upload-artifact@v3 + with: + name: Artifacts + path: build/libs/ \ No newline at end of file