Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

release

release #7

Workflow file for this run

name: release
on:
workflow_dispatch:
inputs:
tag:
description: "The tag version you want to build"
# push:
# branches:
# - main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Get wechat
run: |
wget https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.2.23/WeChatSetup-3.9.2.23.exe
wget https://github.com/x-dr/wechat-bot/releases/download/${{ github.event.inputs.tag }}/wxbot.exe
mkdir wechat-bot
cp *.exe wechat-bot/
cp config.yaml wechat-bot/
zip -r wechat-bot.zip wechat-bot/
- name: Release
uses: softprops/action-gh-release@v1
with:
body_path: ./RELEASE.md
name: ${{ github.event.inputs.tag }}
files: |
wxbot.exe
config.yaml
wechat-bot.zip
WeChatSetup-*
tag_name: ${{ github.event.inputs.tag }}