Linux build with proton picker
This commit is contained in:
@@ -2,11 +2,11 @@ name: Build check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, master]
|
||||
branches: [main, master, linux_build]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build-windows:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
@@ -32,3 +32,26 @@ jobs:
|
||||
run: npm run build
|
||||
env:
|
||||
ELECTRON_RUN_AS_NODE: ''
|
||||
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Node 20
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
cache: 'npm'
|
||||
|
||||
- name: Build Linux AppImage
|
||||
run: bash scripts/build.sh --deps
|
||||
|
||||
- name: Upload Linux binary
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: OctoLauncher-linux
|
||||
path: distprod/*.AppImage
|
||||
if-no-files-found: error
|
||||
|
||||
Reference in New Issue
Block a user