Skip to content

Commit 56a4e58

Browse files
committed
update actions
1 parent 1f45243 commit 56a4e58

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,13 @@ jobs:
2424
python-version: '3.10'
2525
architecture: ${{matrix.architecture}}
2626

27-
- name: Add version
28-
if: startsWith(github.ref, 'refs/tags/')
29-
run: |
30-
echo 'def get_ver():' >> ./utils/functions.py
31-
echo ' return "${{github.ref_name}}"' >> ./utils/functions.py
32-
3327
- name: Install requirements
3428
run: |
3529
pip install -r requirements.txt
3630
pip install pyinstaller
3731
3832
- name: Build win bin
39-
run: pyinstaller -F main.py -n 'chaoxing-${{github.ref_name}}-${{ matrix.name }}'
33+
run: pyinstaller -F main.py -n 'chaoxing'
4034

4135
- name: run ls
4236
run: |

0 commit comments

Comments
 (0)