From 760ac9ddd0831535d2aeac5bc4e79263a83827a8 Mon Sep 17 00:00:00 2001 From: Marquis Kurt Date: Mon, 23 Dec 2019 11:50:59 -0500 Subject: [PATCH] Try modifying config.json and uploading dir --- .github/workflows/ci-win.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-win.yml b/.github/workflows/ci-win.yml index f41d693..41cf474 100644 --- a/.github/workflows/ci-win.yml +++ b/.github/workflows/ci-win.yml @@ -12,6 +12,11 @@ jobs: uses: actions/setup-node@v1 with: node-version: 10.x + - name: Modify config.json + run: | + replacer=$(cat public/config.json | grep "location") + echo $replacer + sed -i "s/$replacer/\"location\": \"desktop"/g" public/config.json; - name: Install dependencies and build run: | npm install @@ -21,5 +26,5 @@ jobs: uses: actions/upload-artifact@v1 if: success() with: - name: 'Windows executable' - path: dist/Hyperspace-*.exe \ No newline at end of file + name: 'Windows executable (output dir)' + path: dist \ No newline at end of file