-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #224 from SuperLlama88888/main
Add automatic Windows builds with GitHub Actions
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Build Structura | ||
run-name: Build Structura | ||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
jobs: | ||
Build: | ||
runs-on: windows-latest | ||
permissions: write-all | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- name: Bundle application | ||
run: | | ||
pip install -r requirements.txt -U pyinstaller | ||
pyinstaller --clean --onefile structura.py | ||
move LICENSE dist/LICENSE | ||
tree /f | ||
- name: Upload as artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Structura | ||
path: dist |
Binary file not shown.