From 29311b37667c592d26dfd8abf63850d7400d7566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ForDream=E4=B8=B6=E6=A2=A6=E7=A9=BA?= <56014859+Forgot-Dream@users.noreply.github.com> Date: Thu, 6 Jun 2024 20:03:36 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d238f6e..ee2e130 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,8 @@ jobs: with: distribution: 'zulu' java-version: ${{ matrix.java }} + - name: cd two_d_craft + run: cd two_d_craft - name: Setup cache uses: actions/cache@v3.0.11 with: @@ -29,11 +31,11 @@ jobs: - name: make gradle wrapper executable if: ${{ runner.os != 'Windows' }} - run: chmod +x ./two_d_craft/gradlew + run: chmod +x ./gradlew - name: build - run: ./two_d_craft/gradlew build + run: ./gradlew build - name: Upload artifacts uses: actions/upload-artifact@v4 with: name: build-artifacts - path: two_d_craft/build/libs/ + path: build/libs/