github action:minor modification

This commit is contained in:
yifang 2022-01-19 21:32:39 +08:00
parent c9945ee615
commit 04d3cc8b22

View file

@ -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:-)"