From e2e41fa0cc5d39ce262745e0ab2a6c73f83e443d Mon Sep 17 00:00:00 2001 From: Krish Kittur Date: Fri, 25 Oct 2024 22:58:53 -0400 Subject: [PATCH] Tag gen --- .github/workflows/gen_code.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/gen_code.yaml b/.github/workflows/gen_code.yaml index 53a16cc..3230b4f 100644 --- a/.github/workflows/gen_code.yaml +++ b/.github/workflows/gen_code.yaml @@ -61,8 +61,15 @@ jobs: run: | tar -czvf mathlab_models.tar.gz source_code + - name: Generate release tag + id: tag + run: | + echo "::set-output name=release_tag::UserBuild_$(date +"%Y.%m.%d_%H-%M")" + - name: Release uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.tag.outputs.release_tag }} files: |