Fix native builds.
This commit is contained in:
parent
70e06f0122
commit
5f2b0661af
1 changed files with 2 additions and 12 deletions
14
.github/workflows/native-build.yml
vendored
14
.github/workflows/native-build.yml
vendored
|
|
@ -42,16 +42,6 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.TAG_NAME }}
|
ref: ${{ env.TAG_NAME }}
|
||||||
|
|
||||||
- name: Cache Chocolatey packages
|
|
||||||
if: matrix.os == 'windows-latest'
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: C:\ProgramData\chocolatey\lib
|
|
||||||
key: choco-${{ runner.os }}-${{ matrix.arch }}-qt6
|
|
||||||
restore-keys: |
|
|
||||||
choco-${{ runner.os }}-${{ matrix.arch }}-
|
|
||||||
|
|
||||||
- name: Cache Python venv
|
- name: Cache Python venv
|
||||||
id: cache-python
|
id: cache-python
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
@ -71,7 +61,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install uv
|
pip install uv
|
||||||
uv venv --system-site-packages --relocatable
|
uv venv --system-site-packages --relocatable
|
||||||
uv sync --link-mode=copy --active
|
uv sync --link-mode=copy --active -extra installer
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
|
|
@ -93,7 +83,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build native binary
|
- name: Build native binary
|
||||||
run: |
|
run: |
|
||||||
uv tool run pyinstaller ./app.spec
|
uv run pyinstaller ./app.spec
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue