Skip to content

The agent that grows with you

fix cache

ethernetae15776becce
diff --git a/.github/workflows/desktop-bundled-release.yml b/.github/workflows/desktop-bundled-release.yml
index 9a1e3473889..5aac8ced2ea 100644
--- a/.github/workflows/desktop-bundled-release.yml
+++ b/.github/workflows/desktop-bundled-release.yml
@@ -427,12 +427,13 @@ jobs:
- name: Resolve the builder toolchain versions
id: electron-tools
shell: bash
- run: node -e '
+ run: |
+ node -e '
const l = require("./package-lock.json")
const eb = l.packages["node_modules/electron-builder"].version
if (!eb) process.exit(1)
console.log("eb=" + eb)
- '
+ ' >> "$GITHUB_OUTPUT"
- name: Restore the electron-builder toolchain cache
id: electron-tools-restore
@@ -725,12 +726,13 @@ jobs:
- name: Resolve the builder toolchain versions
id: electron-tools
shell: bash
- run: node -e '
+ run: |
+ node -e '
const l = require("./package-lock.json")
const eb = l.packages["node_modules/electron-builder"].version
if (!eb) process.exit(1)
console.log("eb=" + eb)
- '
+ ' >> "$GITHUB_OUTPUT"
- name: Restore the electron-builder toolchain cache
id: electron-tools-restore