Fix building web-apps by require sdkjs (#725)

Since this commit on develop
3636bf78c4
web-apps require file from `sdkjs` named
```
'../../../../sdkjs/common/device_scale.js'
```
So cloning of sdkjs is bring back
Currently it will close `sdkjs#develop` for any branches,
since implement cloning different branches for different
PR destanation in GitHub Actions is not a trivial task and
will take time to develop.
But maybe current variant will be enough in major cases
This commit is contained in:
Pavel Lobashov 2021-03-01 11:03:35 +03:00 committed by GitHub
parent 5857cf2ba8
commit a66e1daac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,4 +12,7 @@ jobs:
- name: Build using grunt - name: Build using grunt
run: | run: |
npm install --prefix build npm install --prefix build
cd ..
git clone --branch=develop --depth=1 https://github.com/ONLYOFFICE/sdkjs.git
cd web-apps
grunt --level=ADVANCED --base build --gruntfile build/Gruntfile.js grunt --level=ADVANCED --base build --gruntfile build/Gruntfile.js