-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fca335e
commit 3877b57
Showing
1 changed file
with
20 additions
and
6 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 |
---|---|---|
|
@@ -11,14 +11,28 @@ on: | |
jobs: | ||
pre-release: | ||
name: "Pre Release" | ||
runs-on: "ubuntu-latest" | ||
runs-on: windows-latest | ||
|
||
steps: | ||
# ... | ||
- name: "Build & test" | ||
run: | | ||
echo "done!" | ||
- name: Checkout repo | ||
uses: actions/checkout@master | ||
|
||
- name: Setup python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: 3.11.3 | ||
|
||
- name: Update Requirements | ||
run: | | ||
pip install -r requirements.txt | ||
pip install nuitka | ||
python -m nuitka --mingw64 --standalone --windows-disable-console --show-progress --show-memory --follow-import-to=need --nofollow-imports --enable-plugin=tk-inter .\gui.py | ||
- name: package | ||
shell: pwsh | ||
run: | | ||
Compress-Archive -Path ./gui.dist gui.zip' | ||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
@@ -27,4 +41,4 @@ jobs: | |
title: "预构建版本" | ||
files: | | ||
LICENSE.txt | ||
*.jar | ||
gui.zip |