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

Build wxbot

Build wxbot #7

Workflow file for this run

name: Build wxbot
on:
workflow_dispatch:
inputs:
tag:
description: "The tag version you want to build"
# push:
# branches:
# - main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
ref: dev
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.10"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build wxbot
run: pyinstaller wxbot.spec
- name: Release
uses: softprops/action-gh-release@v1
with:
name: ${{ github.event.inputs.tag }}
files: |
dist/wxbot.exe
tag_name: ${{ github.event.inputs.tag }}