PyQtPicUpload/.github/workflows/build.yml

28 lines
517 B
YAML
Raw Normal View History

2023-12-09 22:02:38 +08:00
name: Default
on:
push:
branches:
- main # 适应你的默认分支
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10 # 适应你的 Python 版本
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build
run: python setup.py bdist