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

release

release #2

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
- name: Release
uses: softprops/action-gh-release@v1
with:
name: ${{ github.event.inputs.tag }}
files: |
dist/wxbot.exe
WeChatSetup-*
tag_name: ${{ github.event.inputs.tag }}