Fix shell: use powershell not pwsh on Windows
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user