This repository has been archived by the owner on May 24, 2024. It is now read-only.
新增 投递话语。 #8
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: Build Canary | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install flask | |
- name: Build code | |
run: | | |
pip install pyinstaller | |
cd todaydiscourse | |
pyinstaller -F __init__.py | |
- name: Publish package | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Windows-Canary | |
path: D:\a\TodayDiscourse\TodayDiscourse\todaydiscourse\dist\__init__.exe | |
if-no-files-found: error |