Skip to content

Commit a9d4f2b

Browse files
Apply suggestion from @Copilot
for workflow persistance Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9b76e96 commit a9d4f2b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/node.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ jobs:
3636
corepack enable
3737
3838
# set isolated electron-builder cache early so downloads use it
39-
echo "XDG_CACHE_HOME=${{ runner.temp }}/electron-builder-cache-${{ github.run_id }}"
40-
export XDG_CACHE_HOME=${{ runner.temp }}/electron-builder-cache-${{ github.run_id }}
39+
XDG_CACHE_HOME="${{ runner.temp }}/electron-builder-cache-${{ github.run_id }}"
40+
export XDG_CACHE_HOME
41+
echo "XDG_CACHE_HOME=$XDG_CACHE_HOME" >> "$GITHUB_ENV"
4142
rm -rf "$XDG_CACHE_HOME/electron-builder" || true
4243
mkdir -p "$XDG_CACHE_HOME"
4344

0 commit comments

Comments
 (0)