Skip to content

Commit ac67a04

Browse files
authored
Update config.yml
1 parent e814640 commit ac67a04

1 file changed

Lines changed: 98 additions & 57 deletions

File tree

package/config.yml

Lines changed: 98 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,104 @@
1-
name: Nuitka Package(dev)
1+
- name: 'novel_crawler'
2+
version: 'v.25.07.08'
3+
python-file: 'novel_crawler\novel_crawler_v.25.07.08.py'
4+
install-requirements: [
5+
'beautifulsoup4',
6+
'requests',
7+
'ebooklib',
8+
'rich'
9+
]
10+
upx: true
11+
# onefile: 2 # 0:文件夹 1:单文件 2:两者
12+
icon:
13+
windowed: False
14+
distpath: 'dist'
15+
output-name-template: '{{name}}_{{version}}_pyInstaller_{{os}}_{{arch}}'
216

3-
on:
4-
workflow_dispatch:
5-
push:
6-
branches:
7-
- dev
8-
paths:
9-
- 'package/config.yml'
17+
- name: 'Keyboard_monitoring'
18+
version: 'v.24.07.16'
19+
python-file: '键盘监听\v.24.07.16.py'
20+
install-requirements: [
21+
'keyboard',
22+
'configparser',
23+
'pywin32'
24+
]
25+
upx: true
26+
# onefile: 1
27+
icon:
28+
windowed: False
29+
distpath: 'dist'
30+
output-name-template: '{{name}}_{{version}}_pyInstaller_{{os}}_{{arch}}'
1031

11-
jobs:
12-
package-and-release:
13-
runs-on: windows-latest
14-
15-
# 添加必要的权限
16-
permissions:
17-
contents: write # 允许创建发布和上传资源
18-
19-
steps:
20-
- name: Set Timezone to China Standard Time
21-
run: tzutil /s "China Standard Time"
22-
shell: pwsh
32+
- name: 'NetEase_Cloud_Music_Download'
33+
version: 'v.24-10-06'
34+
python-file: '网易云音乐歌单批量下载歌曲\v.24-10-06.py'
35+
install-requirements: [
36+
'quote',
37+
'requests',
38+
'tabulate',
39+
'mutagen'
40+
]
41+
upx: true
42+
# onefile: 1
43+
icon:
44+
windowed: False
45+
distpath: 'dist'
46+
output-name-template: '{{name}}_{{version}}_pyInstaller_{{os}}_{{arch}}'
2347

24-
- name: Checkout code
25-
uses: actions/checkout@v4
26-
27-
- name: Set up Python
28-
uses: actions/setup-python@v5
29-
with:
30-
python-version: '3.12'
31-
48+
- name: 'ftp_server'
49+
version: 'v.25-05-02'
50+
python-file: 'ftp_server\ftp_server_v.25-05-02.py'
51+
install-requirements: [
52+
'pyftpdlib'
53+
]
54+
upx: true
55+
# onefile: 1
56+
icon:
57+
windowed: False
58+
distpath: 'dist'
59+
output-name-template: '{{name}}_{{version}}_pyInstaller_{{os}}_{{arch}}'
3260

33-
- name: Install dependencies
34-
run: |
35-
python -m pip install --upgrade pip
36-
pip install nuitka pyyaml
37-
38-
- name: Set up MinGW
39-
uses: egor-tensin/setup-mingw@v2
40-
with:
41-
platform: x64
61+
# - name: 'psql_terminal'
62+
# version:
63+
# os: [
64+
# 'Windows',
65+
# 'Linux'
66+
# ]
67+
# python-file: 'psql_terminal\psql_terminal.py'
68+
# install-requirements: [
69+
# 'psycopg2'
70+
# ]
71+
# upx: true
72+
# icon:
73+
# windowed: False
74+
# distpath: 'dist'
75+
# output-name: '{{name}}_{{os}}_{{arch}}'
4276

43-
- name: Fix Python encoding (Windows)
44-
run: |
45-
# 设置Python使用UTF-8编码
46-
[System.Environment]::SetEnvironmentVariable('PYTHONUTF8', '1', 'Process')
47-
# 设置控制台编码为UTF-8
48-
chcp.com 65001
77+
# - name: 'package'
78+
# version:
79+
# os: [
80+
# 'Windows',
81+
# 'Linux'
82+
# ]
83+
# python-file: 'package\build.py'
84+
# install-requirements: [
85+
# 'pyinstaller'
86+
# ]
87+
# upx: true
88+
# icon:
89+
# windowed: False
90+
# distpath: 'dist'
91+
# output-name-template: '{{name}}_{{version}}_pyInstaller_{{os}}_{{arch}}'
4992

50-
- name: Run packaging script
51-
run: |
52-
cd package
53-
python nuitka_build.py nuitka_config.yml
54-
55-
- name: Upload files with wildcards
56-
uses: actions/upload-artifact@v4
57-
with:
58-
name: Artifact
59-
path: |
60-
./dist/*.exe
61-
retention-days: 90
62-
if-no-files-found: warn
63-
overwrite: true
93+
- name: 'sunrise_sunset_info'
94+
version: 'v.25.05.02'
95+
python-file: 'sunrise_sunset_info\sunrise_sunset_info_v.25.05.02.py'
96+
install-requirements: [
97+
'pyftpdlib'
98+
]
99+
upx: true
100+
# onefile: 1 # 0:文件夹 1:单文件 2:两者
101+
icon:
102+
windowed: False
103+
distpath: 'dist'
104+
output-name-template: '{{name}}_{{version}}_pyInstaller_{{os}}_{{arch}}'

0 commit comments

Comments
 (0)