ImageGrid/.github/workflows/viewer-build-linux.yml
Alex A. Naanou 02cd936cb4 release fix + trying minimal build env...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2025-10-16 13:55:42 +03:00

46 lines
802 B
YAML

name: Viewer build linux
on:
workflow_dispatch:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ./Viewer
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v6
- name: Install dependencies
run: |
#sudo apt install -y \
# nodejs npm \
# wget zip
#sudo apt install -y wget zip
# fixes an issue when running npx sandboxing...
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
- name: Pre-Build
run: make clean-all dev
- name: Build
run: make dist
- name: Release
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create -t "TEST" ./dist/*