Fix shell: use powershell not pwsh on Windows
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get version
|
- name: Get version
|
||||||
id: version
|
id: version
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
$v = (Get-Content src-tauri\tauri.conf.json | ConvertFrom-Json).version
|
$v = (Get-Content src-tauri\tauri.conf.json | ConvertFrom-Json).version
|
||||||
"version=$v" >> $env:GITHUB_OUTPUT
|
"version=$v" >> $env:GITHUB_OUTPUT
|
||||||
@@ -27,15 +27,15 @@ jobs:
|
|||||||
workspaces: src-tauri
|
workspaces: src-tauri
|
||||||
|
|
||||||
- name: Install frontend deps
|
- name: Install frontend deps
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
run: cd cinny; npm ci
|
run: cd cinny; npm ci
|
||||||
|
|
||||||
- name: Install Tauri deps
|
- name: Install Tauri deps
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
env:
|
env:
|
||||||
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
|
||||||
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ''
|
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ''
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
run: npm run tauri -- build
|
run: npm run tauri -- build
|
||||||
|
|
||||||
- name: Stage artifacts
|
- name: Stage artifacts
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
$v = "${{ steps.version.outputs.version }}"
|
$v = "${{ steps.version.outputs.version }}"
|
||||||
New-Item -ItemType Directory -Force dist | Out-Null
|
New-Item -ItemType Directory -Force dist | Out-Null
|
||||||
|
|||||||
Reference in New Issue
Block a user