chore: Add GitHub Actions workflow for releasing Linux

This commit is contained in:
MathieuG-P
2024-07-14 17:15:31 +02:00
parent ede82393da
commit f30cad74d7
+32
View File
@@ -0,0 +1,32 @@
# This workflow will...
name: Realease Linux
on:
workflow_dispatch:
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: "npm"
- run: npm ci
- run: npm run build && electron-builder --linux --x64 --publish always
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: release
path: release