清除历史提交,避免拉取仓库时包含历史安装包

This commit is contained in:
name
2022-04-27 11:33:09 +08:00
commit d3caf2afb6
7 changed files with 388 additions and 0 deletions

23
.github/workflows/destversion.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Wechat Dest Version
on:
schedule:
- cron: '0 7 * * *'
workflow_dispatch:
inputs:
download_link:
description: 'The manual WechatSetup.exe download link'
required: false
default: 'https://dldir1.qq.com/weixin/Windows/WeChatSetup.exe'
jobs:
save_new_wechat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# - name: Test Github Action Server Time
# run: echo `date`
- name: Check new version and push
env:
GHTOKEN: ${{ secrets.GHTOKEN }}
run: bash -x ./scripts/destVersionRelease.sh ${{ github.event.inputs.download_link }}

18
.github/workflows/notify.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Wechat Release Notify
on:
release:
types: [published]
jobs:
notify_to_tg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check new version and push
env:
GHTOKEN: ${{ secrets.GHTOKEN }}
BOTTOKEN: ${{ secrets.BOTTOKEN }}
CHATIDS: ${{ secrets.CHATIDS }}
run: bash -x ./scripts/notify.sh