Skip to content

修改构建参数

修改构建参数 #2

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build with Pyinstaller
run: |
pyinstaller -F main.py
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
path: dist/main.exe