updated and build windows only

This commit is contained in:
Sambo Chea 2020-09-26 12:32:11 +07:00
parent c167689434
commit 1ba45f2f3a
4 changed files with 8 additions and 8 deletions

View File

@ -29,11 +29,11 @@ jobs:
- name: Publish - name: Publish
run: | run: |
yarn run dist yarn run dist
- name: Cleanup artifacts Linux and macOS # - name: Cleanup artifacts Linux and macOS
if: matrix.os != 'windows-latest' # if: matrix.os != 'windows-latest'
run: | # run: |
mkdir artifacts # mkdir artifacts
cp -R dist/{*.deb,*.dmg,*.AppImage} artifacts || true # cp -R dist/{*.deb,*.dmg,*.AppImage} artifacts || true
- name: Cleanup artifacts Windowns - name: Cleanup artifacts Windowns
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
run: | run: |

View File

@ -1 +1 @@
DR_URL=http://clinic.cubetiq.online?platform=desktop DR_URL=https://clinic-dev.cubetiqs.com?platform=desktop

View File

@ -1 +1 @@
DR_URL=http://sandbox.clinic.cubetiq.online?platform=desktop DR_URL=https://clinic.cubetiqs.com?platform=desktop

View File

@ -24,7 +24,7 @@
}, },
"scripts": { "scripts": {
"postinstall": "electron-builder install-app-deps", "postinstall": "electron-builder install-app-deps",
"start": "yarn && cross-env DR_URL=http://clinic.cubetiq.online?platform=desktop electron ./main", "start": "yarn && cross-env DR_URL=https://clinic.cubetiqs.com?platform=desktop electron ./main",
"pack": "electron-builder --dir", "pack": "electron-builder --dir",
"dist": "electron-builder", "dist": "electron-builder",
"builder-help": "electron-builder --help", "builder-help": "electron-builder --help",