Skip to content

Builds x86/ARM

Builds x86/ARM #5

Workflow file for this run

name: ArcadeManager Linux
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.x
8.x
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 22.x
- name: Setup ElectronNET
run: dotnet tool install --global ElectronNET.CLI
- name: Setup Snapcraft
run: sudo snap install snapcraft --classic
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Electronize x86
run: electronize build /target linux
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: ArcadeManager-linux
path: ./src/bin/Desktop/*.*