From 733f86fbf0247cd072142e6dec919c0dab1d3c57 Mon Sep 17 00:00:00 2001 From: yblpoi Date: Mon, 13 Feb 2023 01:51:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bulid.yml | 7 +++---- .github/workflows/update-checker.yml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bulid.yml b/.github/workflows/bulid.yml index aa9e6ec..23303d6 100644 --- a/.github/workflows/bulid.yml +++ b/.github/workflows/bulid.yml @@ -55,9 +55,8 @@ jobs: id: Bulid run: | cd Fxxk-Wechat - mkdir -p ./bin echo 'Start Build Module' - zip -r ./bin/${{ env.MODULE_NAME }}.zip * -x './fuck-wechat.code-workspace' -x '*.md' + zip -r ${{ env.MODULE_NAME }}.zip * -x './fuck-wechat.code-workspace' -x '*.md' Get_Version=$(cat module.prop | grep "version" | grep -v "versionCode" | cut -f2 -d"=" ) echo "MODULE_VERSION=$Get_Version" >> $GITHUB_ENV echo "status=success" >> $GITHUB_OUTPUT @@ -66,7 +65,7 @@ jobs: id: organize if: steps.organize.outputs.status == 'success' && env.UPLOAD_MODULE == 'true' run: | - cd Fxxk-Wechat/bin/ + cd Fxxk-Wechat echo "MODDIR=$PWD" >> $GITHUB_ENV echo "status=success" >> $GITHUB_OUTPUT @@ -89,7 +88,7 @@ jobs: uses: softprops/action-gh-release@v1 if: steps.tag.outputs.status == 'success' && !cancelled() env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.FUCK_WECHAT_TOKEN }} with: name: ${{ env.OPNAME }} tag_name: ${{ steps.tag.outputs.release_tag }} diff --git a/.github/workflows/update-checker.yml b/.github/workflows/update-checker.yml index bd08e50..2cadb2d 100644 --- a/.github/workflows/update-checker.yml +++ b/.github/workflows/update-checker.yml @@ -56,4 +56,4 @@ jobs: keep_latest: 5 delete_tags: true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.FUCK_WECHAT_TOKEN }} \ No newline at end of file