From 36c3dfd51d319b9b9ad392988d13ef7f443e0937 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Thu, 5 Oct 2023 13:31:35 -0700 Subject: [PATCH] fix: :green_heart: fix copy statement to include.exe for windows --- .github/workflows/preview.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 374990b74..e065cf4e2 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -77,9 +77,15 @@ jobs: run: | mkdir -p extension/exe - - name: Copy binary to extension + - name: Copy binary to extension (non-Windows) run: | cp dist/run extension/exe/run + if: matrix.os != 'windows-latest' + + - name: Copy binary to extension (Windows) + run: | + cp dist/run.exe extension/exe/run.exe + if: matrix.os == 'windows-latest' # 2. Install npm dependencies - name: Use Node.js 19.0.0