Skip to content

Work around a electron-updater issue #4018

Work around a electron-updater issue

Work around a electron-updater issue #4018

Workflow file for this run

name: Linux Build
on:
push:
branches:
- "*"
tags:
- "*"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["20"]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: Install Dependencies
run: pnpm install
- name: Lint
run: pnpm run lint
- name: Build
if: github.ref == 'refs/heads/main'
run: pnpm run build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Build
if: github.ref != 'refs/heads/main'
run: pnpm run build --publish=never
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- uses: actions/upload-artifact@v4
name: Upload AppImage
with:
name: WeakAuras-Companion-CI-AppImage
path: release/**/*.AppImage
- uses: actions/upload-artifact@v4
name: Upload Snap
with:
name: WeakAuras-Companion-CI-Snap
path: release/**/*.snap
- uses: actions/upload-artifact@v4
name: Upload deb
with:
name: WeakAuras-Companion-CI-deb
path: release/**/*.deb
- uses: actions/upload-artifact@v4
name: Upload rpm
with:
name: WeakAuras-Companion-CI-rpm
path: release/**/*.rpm