Skip to content

nathan-vm is building a Linux release #18

nathan-vm is building a Linux release

nathan-vm is building a Linux release #18

name: Build and Deploy — Linux
run-name: ${{ github.actor }} is building a Linux release
on:
push:
branches:
- main
permissions:
actions: write
contents: write
packages: write
jobs:
deploy-on-linux:
runs-on: ubuntu-22.04
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: install necessary libs
run: |
sudo apt-get install build-essential clang libdbus-1-dev libgtk-3-dev \
libnotify-dev libasound2-dev libcap-dev \
libcups2-dev libxtst-dev \
libxss1 libnss3-dev gcc-multilib g++-multilib curl \
gperf bison python3-dbusmock openjdk-8-jre
- name: install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install dependencies
run: npm install
- name: Build and deploy on Linux(Debian)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run build:linux --publish=always