Skip to content

Release Linux

Release Linux #1

name: Release Linux
on:
push:
tags:
- v*
workflow_dispatch:
inputs:
branch:
description: 'Branch to build'
required: true
default: 'main'
jobs:
build-linux:
name: Build Linux binaries
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y snapd
sudo snap install snapcraft --classic
- name: Build and package application
run: |
yarn
yarn build:linux
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: dist/*.yml,dist/*.AppImage,dist/*.deb,dist/*.rpm
draft: true
token: ${{ secrets.GH_TOKEN }}