check webui path exists #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Linux and Android | |
| on: | |
| push: | |
| branches: [ "2.0-master", "wasm_devel" ] | |
| pull_request: | |
| branches: [ "2.0-master" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Detect tag | |
| if: startsWith(github.ref, 'refs/tags/') | |
| run: echo "TRAVIS_TAG=$GITHUB_REF_NAME" >> $GITHUB_ENV | |
| - name: Retrieve the secret and decode it to a file | |
| env: | |
| MY_KEYSTORE_BASE64: ${{ secrets.MY_KEYSTORE_BASE64 }} | |
| run: | | |
| echo $MY_KEYSTORE_BASE64 | base64 --decode > my.keystore | |
| - name: Install dependencies | |
| run: bash travis/install_dependencies.bash | |
| - name: Build client | |
| env: | |
| KEYSTORE_PWD: ${{ secrets.KEYSTORE_PWD }} | |
| run: bash travis/build_client.bash | |
| - name: Build server | |
| run: source env/bin/activate; bash travis/build_and_deploy_server.bash | |
| - name: Deploy client | |
| run: bash travis/deploy_client.bash |