diff options
author | Ashraf Teleb <ashraf.teleb85@gmail.com> | 2020-11-12 05:14:25 +0300 |
---|---|---|
committer | Ashraf Teleb <ashraf.teleb85@gmail.com> | 2020-11-12 05:14:25 +0300 |
commit | 32ea1943373964baf8541cdb7d28879508ba3960 (patch) | |
tree | 8fa0c4044c9648f862479e63c26fb7d8f9a972c4 | |
parent | 66f66b7a828becc20207ecfee285bd9b2c399d76 (diff) |
Git actions trial 5 [windows]
-rw-r--r-- | .github/workflows/electron-builder-win.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/electron-builder-win.yml b/.github/workflows/electron-builder-win.yml new file mode 100644 index 0000000..c1bb934 --- /dev/null +++ b/.github/workflows/electron-builder-win.yml @@ -0,0 +1,34 @@ +name: Electron Builder CI (WIN) + +on: + push: + branches: #For testing + - master + tags: + - 'v*' + +jobs: + build: + runs-on: windows-latest + steps: + - name: Checkout reposistory + uses: actions/checkout@v2 + - name: Installing Node + uses: actions/setup-node@v1 + with: + node-version: 10 + - name: Build for Windows + shell: powershell + run: | + git config --global core.autocrlf input + (gc .\.gitmodules) -replace 'git@github.com:','https://github.com/' | Out-File -encoding ASCII .gitmodules + git submodule update --init --recursive + npm install -g yarn + yarn install + cd drawio/src/main/webapp + yarn install + cd ../.. + yarn run sync + yarn run release-win + yarn run sync disableUpdate + yarn run release-appx |