Skip to content

Build - Release

Build - Release #6

Workflow file for this run

name: Build - Release
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: latest
cache: 'npm'
- name: Install dependancies
run: |
sudo apt-get update
sudo apt-get install python3
sudo apt-get install jq
npm install --save-dev electron-packager
npm install
- name: Building
run: npm run build
- name: Compressing
run: tar -czvf the-power-ui.app.tar.gz build/the-power-ui-linux-x64/the-power-ui.app
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Initial build"
files: |
the-power-ui.app.tar.gz