We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20c48bf commit d8f7a50Copy full SHA for d8f7a50
1 file changed
.github/workflows/release.yml
@@ -6,16 +6,20 @@ on:
6
jobs:
7
build:
8
if: startsWith(github.ref, 'refs/tags/')
9
- runs-on: ubuntu-latest
+ runs-on: windows-latest
10
steps:
11
- name: Checkout code
12
uses: actions/checkout@v2
13
- - name: Build executable with PyInstaller
14
- uses: JackMcKew/pyinstaller-action-windows@v0.1.2
+ - name: Install the latest version of uv
+ uses: astral-sh/setup-uv@v6
15
with:
16
- path: '.'
17
- spec: 'k2c.spec' # 可选
18
- # requirements: 'requirements.txt' # 可选
+ version: "latest"
+ - run: |
+ uv --version
19
+ uv sync pyproject.toml
20
+ - name: build the project
21
+ run: |
22
+ pyinstaller k2c.spec
23
- run: ls dist
24
- run: mv dist/k2c.exe .
25
- name: zip the build
0 commit comments