diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a0b065..c2a68a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/build.sh b/build.sh index 1f4a22d..2607d73 100755 --- a/build.sh +++ b/build.sh @@ -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 diff --git a/ubuntu-packages.sh b/ubuntu-packages.sh index 964e9ff..5d1801a 100755 --- a/ubuntu-packages.sh +++ b/ubuntu-packages.sh @@ -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