Fix shell: use powershell not pwsh on Windows
Build Lotus Chat Desktop / build-windows (push) Failing after 41s
Build Lotus Chat Desktop / build-linux (push) Failing after 15m5s
Build Lotus Chat Desktop / publish (push) Has been skipped

This commit is contained in:
2026-06-06 14:12:57 -04:00
parent 6f543f8bef
commit 99fb77b867
+5 -5
View File
@@ -17,7 +17,7 @@ jobs:
- name: Get version
id: version
shell: pwsh
shell: powershell
run: |
$v = (Get-Content src-tauri\tauri.conf.json | ConvertFrom-Json).version
"version=$v" >> $env:GITHUB_OUTPUT
@@ -27,15 +27,15 @@ jobs:
workspaces: src-tauri
- name: Install frontend deps
shell: pwsh
shell: powershell
run: cd cinny; npm ci
- name: Install Tauri deps
shell: pwsh
shell: powershell
run: npm ci
- name: Build
shell: pwsh
shell: powershell
env:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ''
@@ -43,7 +43,7 @@ jobs:
run: npm run tauri -- build
- name: Stage artifacts
shell: pwsh
shell: powershell
run: |
$v = "${{ steps.version.outputs.version }}"
New-Item -ItemType Directory -Force dist | Out-Null