Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
工作流测试
Browse files Browse the repository at this point in the history
  • Loading branch information
yblpoi committed Feb 12, 2023
1 parent 89f5114 commit 733f86f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/bulid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:
keep_latest: 5
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.FUCK_WECHAT_TOKEN }}

0 comments on commit 733f86f

Please sign in to comment.