This repository has been archived by the owner on Jul 15, 2024. It is now read-only.
release #3
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: 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 }} | |