Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/exe.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: BuildEXE

on: push
jobs:
build:
runs-on: windows-latest
steps:
- name: 检出代码
uses: actions/checkout@v2

- name: 设置 Python 3
uses: actions/setup-python@v4
with:
python-version: '3.8'

- name: 安装依赖
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller

- name: 使用 PyInstaller 打包
run: |
pyinstaller -F fofa.py

- name: 上传可执行文件作为工件
uses: actions/upload-artifact@v4
with:
name: executable
path: dist\fofa.exe
retention-days: 1
30 changes: 0 additions & 30 deletions .github/workflows/publish-to-fofa-hack-pypi.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,4 @@ dmypy.json

# Pyre type checker
.pyre/
/fofa.iml