From 11ee5bc995eb8c56a60afd8be35e21db4d7d50d5 Mon Sep 17 00:00:00 2001 From: msojocs Date: Thu, 27 Jan 2022 11:36:00 +0800 Subject: [PATCH] update(actions) --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca3f68d..e135d7a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,8 +43,15 @@ jobs: tools/setup-wechat-devtools-node - name: Delete unused file + if: startsWith(github.ref, 'refs/tags/') run: | sudo rm -rf cache tmp + cd ../ + mv wechat-devtools '${{ env.name }}' + mkdir -p wechat-devtools + mv '${{ env.name }}' wechat-devtools + env: + name: 'release-${{ github.ref_name }}' - name: Release uses: fnkr/github-action-ghr@v1