Try modifying config.json and uploading dir
This commit is contained in:
parent
c0a6f3a5f9
commit
760ac9ddd0
|
@ -12,6 +12,11 @@ jobs:
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 10.x
|
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
|
- name: Install dependencies and build
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
@ -21,5 +26,5 @@ jobs:
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
if: success()
|
if: success()
|
||||||
with:
|
with:
|
||||||
name: 'Windows executable'
|
name: 'Windows executable (output dir)'
|
||||||
path: dist/Hyperspace-*.exe
|
path: dist
|
Loading…
Reference in New Issue