From 486ea3f233f9d57465c5c34f94d352fd7b276868 Mon Sep 17 00:00:00 2001 From: KrLite <68179735+KrLite@users.noreply.github.com> Date: Fri, 5 Apr 2024 09:53:37 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fc2947..907cb00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,9 +8,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Get github short hash - id: github_short_hash - run: echo "result=$(git rev-parse --short "${{ github.sha }}")" >> $GITHUB_OUTPUT - name: Set up JDK 17 uses: actions/setup-java@v3 with: @@ -28,18 +25,8 @@ jobs: run: | chmod +x gradlew ./gradlew build - - name: Upload artifacts (fabric) + - name: Upload artifacts uses: actions/upload-artifact@v3 with: - name: Artifacts-fabric - path: ${{ github.workspace }}/fabric/build/libs - - name: Upload artifacts (forge) - uses: actions/upload-artifact@v3 - with: - name: Artifacts-forge - path: ${{ github.workspace }}/forge/build/libs - - name: Upload artifacts (neoforge) - uses: actions/upload-artifact@v3 - with: - name: Artifacts-forge - path: ${{ github.workspace }}/neoforge/build/libs + name: Artifacts + path: ${{ github.workspace }}/build/libs