From 1907ad98ef5c6024e2370d08e28475ebb720c153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=95=E8=88=9E=E5=85=AB=E5=BC=A6?= <1677759063@qq.com> Date: Mon, 15 Apr 2024 20:21:58 +0800 Subject: [PATCH] fix: build --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 57f0c87da8f51..2b626a658bd33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,10 +26,13 @@ jobs: run: | cd .. tar --exclude-from=./mw/.github/workflows/exclude -czvf dist.tgz mw - + - name: Get current time + id: date + run: echo "::set-output name=now::$(date +'%Y-%m-%d-%H-%M-%S')" - name: Create release uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: files: dist.tgz + tag: ${{ steps.date.outputs.now }}