From 406cd5f3f1e313753fbb30c88825bd019f7124c9 Mon Sep 17 00:00:00 2001 From: Max <75096038+AltronMaxX@users.noreply.github.com> Date: Fri, 14 Jul 2023 00:24:48 +0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a0cae92..03ee002 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,6 @@ jobs: - name: Configure Git User Details run: | git config --global user.email "actions@github.com" && git config --global user.name "Github Actions" - echo "Compile_Date=$(date +%H%M%d%m%Y)" >> $GITHUB_ENV - name: Apply Patches run: ./gradlew applyPatches --stacktrace @@ -43,12 +42,11 @@ jobs: - name: Make release uses: softprops/action-gh-release@v1 with: - name: "1.20.1 build ${{ env.Compile_Date }}" + name: "1.20.1 build ${{github.run_number}}" body: | Foldenor build Version: 1.20.1 - Build Time: ${{ env.Compile_Date }} - tag_name: "latest_1.20.1_${{ env.Compile_Date }}" + tag_name: "latest_1.20.1_${{github.run_number}}" files: build/libs/* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}