Wechat Dest Version #447
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/mac/WeChatMac.dmg' | |
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: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: sudo apt update && sudo apt install python3 python3-pip -y && pip install lxml requests && bash -x ./scripts/destVersionForMac.sh ${{ github.event.inputs.download_link }} |