From 04d3cc8b22779bb1f20ac7373158ad5463dc7450 Mon Sep 17 00:00:00 2001 From: yifang Date: Wed, 19 Jan 2022 21:32:39 +0800 Subject: [PATCH] github action:minor modification --- .github/workflows/windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4ac7b40a..3d30b7f2 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -77,7 +77,7 @@ jobs: id: vars run: | echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" - echo "::set-output name=release_date::$(date +'%Y%m%d-%H%M')" + echo "::set-output name=release_date::$(date +'%Y%m%d')" # 打包 - name: package id: package @@ -107,4 +107,4 @@ jobs: overwrite: true release_name: ${{ steps.package.outputs.packageName }} prerelease: true - body: "This is a prerelease version ,auto build by github action. use on your on risk:-)" + body: "${{steps.vars.outputs.release_date}} \n This is a prerelease version ,auto build by github action. use on your on risk:-)"