From 2ef7bfb19d2ccd938c9d6f6b124c6063707ad0c6 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:30:33 +0800 Subject: [PATCH] build: update https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8521ebd04fcd1..baa48c9506613 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: 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')" + run: echo "now=$(date +'%Y-%m-%d-%H-%M-%S')" >> $GIHTUB_OUTPUT - name: Create release uses: softprops/action-gh-release@v2 env: