feat: use new webui release

This commit is contained in:
Anton Bracke 2021-05-27 08:48:35 +02:00
parent 2a90764e9c
commit c8b0dfa1a4
3 changed files with 12 additions and 9 deletions

View File

@ -29,10 +29,10 @@ jobs:
cd webui/
npm run build
- name: Zip webui release
- name: Bundle webui release
run: |
cd webui/build/
zip -r ../../webui.zip .
cd webui/
tar -czvf ../webui.tar.gz build/
- name: Release
uses: softprops/action-gh-release@v1
@ -40,5 +40,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
webui.zip
webui.tar.gz
LICENSE

View File

@ -26,10 +26,13 @@ fi
cd ..
cd webui
echo "Building and installing webui ..."
#npm install react-modal react-toastify react-router-dom
npm install
npm run build
# echo "Building and installing webui ..."
# npm install react-modal react-toastify react-router-dom
# npm install
# npm run build
echo "Downloading current webui release ..."
wget https://github.com/bondagit/aes67-linux-daemon/releases/latest/download/webui.tar.gz
tar -xzvf webui.tar.gz
cd ..
cd daemon

View File

@ -9,7 +9,7 @@ sudo apt-get install -y build-essential
sudo apt-get install -y clang
sudo apt-get install -y git
sudo apt-get install -y cmake
sudo apt-get install -y npm
# sudo apt-get install -y npm
sudo apt-get install -y libboost-all-dev
sudo apt-get install -y valgrind
sudo apt-get install -y linux-sound-base alsa-base alsa-utils