Upload Static Web Build to Artifacts
This commit is contained in:
parent
6d45d8127b
commit
69101aba2f
|
@ -43,34 +43,40 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: freetube-vue_0.8.0_amd64.rpm
|
name: freetube-vue_0.8.0_amd64.rpm
|
||||||
path: build/freetube-vue-0.8.0.x86_64.rpm
|
path: build/freetube-vue-0.8.0.x86_64.rpm
|
||||||
- name: Build on ARMv7
|
- name: Upload Web Build
|
||||||
uses: uraimo/run-on-arch-action@v1.0.9
|
uses: actions/upload-artifact@v2
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
with:
|
with:
|
||||||
architecture: aarch64
|
name: freetube-vue_0.8.0_static_web
|
||||||
distribution: ubuntu20.04
|
path: dist/web
|
||||||
run: |
|
# - name: Build on ARMv7
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
# uses: uraimo/run-on-arch-action@v1.0.9
|
||||||
export TZ=Europe/Kiev
|
# if: startsWith(matrix.os, 'ubuntu')
|
||||||
apt update
|
# with:
|
||||||
apt install -y curl
|
# architecture: aarch64
|
||||||
echo 'installing node 12x'
|
# distribution: ubuntu20.04
|
||||||
curl -sL https://deb.nodesource.com/setup_12.x | bash
|
# run: |
|
||||||
echo 'finished installing node'
|
# export DEBIAN_FRONTEND=noninteractive
|
||||||
apt update
|
# export TZ=Europe/Kiev
|
||||||
apt install -y nodejs
|
# apt update
|
||||||
apt install -y build-essential
|
# apt install -y curl
|
||||||
apt install -y libopenjp2-7
|
# echo 'installing node 12x'
|
||||||
node --version
|
# curl -sL https://deb.nodesource.com/setup_12.x | bash
|
||||||
npm install
|
# echo 'finished installing node'
|
||||||
npm run lint
|
# apt update
|
||||||
npm run build --if-present
|
# apt install -y nodejs
|
||||||
- name: Upload Linux ARM64 .deb Artifact
|
# apt install -y build-essential
|
||||||
uses: actions/upload-artifact@v2
|
# apt install -y libopenjp2-7
|
||||||
if: startsWith(matrix.os, 'ubuntu-latest')
|
# node --version
|
||||||
with:
|
# npm install
|
||||||
name: freetube-vue_0.8.0_arm64.deb
|
# npm run lint
|
||||||
path: build/freetube-vue_0.8.0_arm64.deb
|
# 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
|
- name: Upload Windows .exe Artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
|
|
Loading…
Reference in New Issue