File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,23 +2,30 @@ name: Build and Upload LaZagne Release
22
33on :
44 push :
5- # Sequence of patterns matched against refs/tags
65 tags :
7- - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
6+ - ' v*' # Matches tags like v1.0, v20.15.10
87
98jobs :
109 build :
1110
12- runs-on : ubuntu -latest
11+ runs-on : windows -latest
1312
1413 steps :
1514 - uses : actions/checkout@v2
1615
17- - name : Build Application
18- uses : JackMcKew/pyinstaller-action-windows@main
16+ - name : Set up Python 3.11
17+ uses : actions/setup-python@v4
1918 with :
20- path : Windows
21- requirements : requirements.txt
19+ python-version : 3.11
20+
21+ - name : Install Dependencies
22+ run : |
23+ pip install -r requirements.txt
24+
25+ - name : Build Executable with PyInstaller
26+ run : |
27+ cd Windows
28+ pyinstaller lazagne.spec
2229
2330 - name : Create Release
2431 id : create_release
3845 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3946 with :
4047 upload_url : ${{ steps.create_release.outputs.upload_url }}
41- asset_path : Windows/dist/windows/ lazagne.exe
48+ asset_path : Windows/dist/lazagne.exe
4249 asset_name : LaZagne.exe
4350 asset_content_type : application/octet-stream
You can’t perform that action at this time.
0 commit comments