From c23725c8713d4135d4a8d96f7ffb560f0f5fff89 Mon Sep 17 00:00:00 2001 From: HIMANSHU Date: Thu, 18 Apr 2024 16:16:02 +0530 Subject: [PATCH] fix:tag issue fix --- .github/workflows/android-build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index 4c7ae65..f277013 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -53,16 +53,16 @@ jobs: uses: actions/checkout@v2 - name: Set tag name id: set_tag_name - uses: dawidd6/action-get-tag@v1 - with: - strip_v: false + run: | + TAG_NAME="v$(date +'%Y%m%d')-${GITHUB_SHA::8}" + echo "::set-output name=tag_name::$TAG_NAME" - name: Create Release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: - tag_name: ${{ steps.set_tag_name.outputs.tag }} + tag_name: ${{ steps.set_tag_name.outputs.tag_name }} release_name: Release ${{ github.ref }} draft: false prerelease: false