Skip to content
This repository was archived by the owner on May 24, 2025. It is now read-only.

Commit 27b1267

Browse files
committed
Update workflow.yml
1 parent 7cc0c6d commit 27b1267

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/workflow.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,21 @@ jobs:
3333
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3434
flake8 . --count --exit-zero --max-complexity=40 --max-line-length=300 --statistics
3535
36-
- name: Build executable
37-
run: |
38-
pyinstaller --onefile --clean --name "exitlag-auto-signup v3.${{ github.run_number }}" main.py --distpath "./"
36+
- name: Create Executable
37+
uses: sayyid5416/pyinstaller@v1
38+
with:
39+
python_ver: '3.10'
40+
spec: 'src/exitlag-auto-signup v3.${{ github.run_number }}.spec'
41+
requirements: 'src/requirements.txt'
42+
upload_exe_with_name: 'Exitlag Auto Signup v3.${{ github.run_number }}'
43+
options: --onefile, --name "exitlag-auto-signup v3.${{ github.run_number }}", --clean
3944

45+
- name: Upload Executable
46+
uses: actions/upload-artifact@v3
47+
with:
48+
name: exitlag-auto-signup v3.${{ github.run_number }}
49+
path: exitlag-auto-signup v3.${{ github.run_number }}.exe
50+
4051
- name: Create a new tag
4152
run: |
4253
git config --global user.name "github-actions[bot]"

0 commit comments

Comments
 (0)