From 69101aba2fa19222f3f695a925803384477f1dc4 Mon Sep 17 00:00:00 2001 From: Preston Date: Wed, 15 Jul 2020 17:25:55 -0400 Subject: [PATCH] Upload Static Web Build to Artifacts --- .github/workflows/build.yml | 58 ++++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a378a0b23..b3b9e1fe0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,34 +43,40 @@ jobs: with: name: freetube-vue_0.8.0_amd64.rpm path: build/freetube-vue-0.8.0.x86_64.rpm - - name: Build on ARMv7 - uses: uraimo/run-on-arch-action@v1.0.9 + - name: Upload Web Build + uses: actions/upload-artifact@v2 if: startsWith(matrix.os, 'ubuntu') with: - architecture: aarch64 - distribution: ubuntu20.04 - run: | - export DEBIAN_FRONTEND=noninteractive - export TZ=Europe/Kiev - apt update - apt install -y curl - echo 'installing node 12x' - curl -sL https://deb.nodesource.com/setup_12.x | bash - echo 'finished installing node' - apt update - apt install -y nodejs - apt install -y build-essential - apt install -y libopenjp2-7 - node --version - npm install - npm run lint - npm run build --if-present - - name: Upload Linux ARM64 .deb Artifact - uses: actions/upload-artifact@v2 - if: startsWith(matrix.os, 'ubuntu-latest') - with: - name: freetube-vue_0.8.0_arm64.deb - path: build/freetube-vue_0.8.0_arm64.deb + name: freetube-vue_0.8.0_static_web + path: dist/web +# - name: Build on ARMv7 +# uses: uraimo/run-on-arch-action@v1.0.9 +# if: startsWith(matrix.os, 'ubuntu') +# with: +# architecture: aarch64 +# distribution: ubuntu20.04 +# run: | +# export DEBIAN_FRONTEND=noninteractive +# export TZ=Europe/Kiev +# apt update +# apt install -y curl +# echo 'installing node 12x' +# curl -sL https://deb.nodesource.com/setup_12.x | bash +# echo 'finished installing node' +# apt update +# apt install -y nodejs +# apt install -y build-essential +# apt install -y libopenjp2-7 +# node --version +# npm install +# npm run lint +# npm run build --if-present +# - name: Upload Linux ARM64 .deb Artifact +# uses: actions/upload-artifact@v2 +# if: startsWith(matrix.os, 'ubuntu-latest') +# with: +# name: freetube-vue_0.8.0_arm64.deb +# path: build/freetube-vue_0.8.0_arm64.deb - name: Upload Windows .exe Artifact uses: actions/upload-artifact@v2 if: startsWith(matrix.os, 'windows')