Skip to content

Commit

Permalink
use ps commands instead of jq
Browse files Browse the repository at this point in the history
  • Loading branch information
TuTiDore committed Aug 20, 2024
1 parent 1003159 commit fded20c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ jobs:
node-version: 20
cache: "yarn"
- name: remove config pubkey
run: jq 'del(.plugins)' ./src-tauri/tauri.conf.json > conf.tmp && mv conf.tmp ./src-tauri/tauri.conf.json
run: |
$json = Get-Content ./src-tauri/tauri.conf.json | ConvertFrom-Json
$json.tauri.key.PSObject.Properties.Remove('plugins')
$json | ConvertTo-Json -Depth 32 | Set-Content ./src-tauri/tauri.conf.json
- name: install app dependencies
run: yarn
- name: test build
Expand Down

0 comments on commit fded20c

Please sign in to comment.