From 4ae286d21a03265d3875b3417f13ccf07905df86 Mon Sep 17 00:00:00 2001 From: niklascfw Date: Fri, 13 Feb 2026 22:11:42 +0100 Subject: [PATCH] Updated CI --- .github/workflows/build.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b7121d..c95704b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file