From b3a356edb58ec1657a1d10010a212c0bce47e226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8F=E3=81=81=E3=83=BC=E3=82=8A=E3=81=83?= <39122497+Quarri6343@users.noreply.github.com> Date: Wed, 30 Aug 2023 15:08:58 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 031356d..bcdc883 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,12 +26,12 @@ jobs: run: | tag="${{ steps.extract_tag.outputs.tag }}" full_version="${tag}.0" - ./gradlew jar -Pversion=${full_version} + ./gradlew jar git_hash=$(git rev-parse --short "$GITHUB_SHA") echo "git_hash=$git_hash" >> $GITHUB_ENV echo "artifactPath=$(pwd)/builds" >> $GITHUB_ENV - name: Upload Plugin JAR uses: actions/upload-artifact@v2 with: - name: TradeCore-${{ env.snapshotVersion }}.jar - path: /home/runner/work/TradeCore/TradeCore/builds/TradeCore-${{ env.snapshotVersion }}.jar + name: TradeCore-${{ env.full_version }}.jar + path: /home/runner/work/TradeCore/TradeCore/builds/TradeCore-all.jar