mirror of
https://github.com/zsbai/wechat-versions.git
synced 2026-05-13 23:16:44 +00:00
清除历史提交,避免拉取仓库时包含历史安装包
This commit is contained in:
23
.github/workflows/destversion.yml
vendored
Normal file
23
.github/workflows/destversion.yml
vendored
Normal 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
18
.github/workflows/notify.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user