From 5ef49c868441cfdc54b4339c743c69c1225b417c Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Tue, 19 Dec 2023 17:31:22 +0700 Subject: [PATCH] Correct jq command cause ci nightly build run failed (#1104) Co-authored-by: Hien To --- .github/workflows/jan-electron-build-nightly.yml | 2 +- .github/workflows/jan-electron-build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jan-electron-build-nightly.yml b/.github/workflows/jan-electron-build-nightly.yml index 3b1e9e6ea1..1db805d4eb 100644 --- a/.github/workflows/jan-electron-build-nightly.yml +++ b/.github/workflows/jan-electron-build-nightly.yml @@ -203,7 +203,7 @@ jobs: jq '.build.publish = [{"provider": "generic", "url": "${{ secrets.CLOUDFLARE_R2_PUBLIC_URL }}", "channel": "latest"}]' electron/package.json > /tmp/package.json mv /tmp/package.json electron/package.json - jq '.build.win.sign = "./sign.js"' package.json > /tmp/package.json + jq '.build.win.sign = "./sign.js"' electron/package.json > /tmp/package.json mv /tmp/package.json electron/package.json - name: Install AzureSignTool diff --git a/.github/workflows/jan-electron-build.yml b/.github/workflows/jan-electron-build.yml index 0f2845776a..eba68fea15 100644 --- a/.github/workflows/jan-electron-build.yml +++ b/.github/workflows/jan-electron-build.yml @@ -120,7 +120,7 @@ jobs: fi jq --arg version "${VERSION_TAG#v}" '.version = $version' electron/package.json > /tmp/package.json mv /tmp/package.json electron/package.json - jq '.build.win.sign = "./sign.js"' package.json > /tmp/package.json + jq '.build.win.sign = "./sign.js"' electron/package.json > /tmp/package.json mv /tmp/package.json electron/package.json env: VERSION_TAG: ${{ steps.tag.outputs.tag }}