Skip to content

修复获取课程列表无desc报错#333 #87

修复获取课程列表无desc报错#333

修复获取课程列表无desc报错#333 #87

Workflow file for this run

name: CI
on:
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-latest
architecture: 'x86'
name: 'win32'
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
architecture: ${{matrix.architecture}}
- name: Install requirements
run: |
pip install -r requirements.txt
pip install pyinstaller
- name: Build win bin
run: pyinstaller -F main.py -n 'chaoxing'
- name: run ls
run: |
ls dist
echo ${{github.ref}}
- name: Publish
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: 'dist/chaoxing*'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3
with:
name: ${{ matrix.name }}
path: 'dist/chaoxing*'