File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616 steps :
1717 - name : Checkout code
18- uses : actions/checkout@v4
18+ uses : actions/checkout@v5
19+
20+ - name : Set up Python
21+ uses : actions/setup-python@v6
22+ with :
23+ python-version : ' 3.10'
24+
25+ - name : Install PyInstaller
26+ run : |
27+ pip install pyinstaller
28+
29+ # 读取并执行打包命令
30+ - name : Build project
31+ run : |
32+ $command = Get-Content -Path "facebook\packaging_script\packaging.text"
33+ Invoke-Expression $command
34+
35+ - name : Create release folder and zip executable
36+ run : |
37+ mkdir -p release
38+ apt-get install zip
39+ zip release/FBreptilever.zip dist/FBreptilever.exe
1940
2041 - name : Upload to server via FTP
2142 uses : SamKirkland/FTP-Deploy-Action@v4.3.6
2546 password : ${{ secrets.FTP_PASSWORD }}
2647 protocol : ftp
2748 port : ${{ secrets.FTP_PORT }}
28- local-dir : facebook/image/warn.svg/
29- server-dir : /UpData/FBfans/
30-
49+ local-dir : release/
50+ server-dir : /UpData/FBfans/test/
You can’t perform that action at this time.
0 commit comments