Try modifying config.json and uploading dir

This commit is contained in:
Marquis Kurt 2019-12-23 11:50:59 -05:00
parent c0a6f3a5f9
commit 760ac9ddd0
No known key found for this signature in database
GPG Key ID: 725636D259F5402D
1 changed files with 7 additions and 2 deletions

View File

@ -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
name: 'Windows executable (output dir)'
path: dist