Builds x86/ARM #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/*.* |