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: |