This commit is contained in:
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@@ -2,23 +2,31 @@ name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
container: devkitpro/devkitarm:latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: apt-get update && apt-get install -y nodejs
|
||||
|
||||
- name: Build payload
|
||||
- name: Checkout latest code
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
clean: true
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
docker run --rm -v "$PWD:/work" -w /work \
|
||||
-e DEVKITARM=/opt/devkitpro/devkitARM \
|
||||
devkitpro/devkitarm:20251231 make
|
||||
export DEVKITPRO=/opt/devkitpro
|
||||
export DEVKITARM=/opt/devkitpro/devkitARM
|
||||
make -j4
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: OmniNX-Installer
|
||||
path: output/OmniNX-Installer.bin
|
||||
path: output/OmniNX-Installer.bin
|
||||
Reference in New Issue
Block a user