From d19530b53b652dd4ac7365ea596f0faff0f8830d Mon Sep 17 00:00:00 2001 From: Explodingbill Date: Fri, 29 Dec 2023 17:13:02 +1100 Subject: [PATCH] jh --- .github/workflows/build.yml | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..93ceb99 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,46 @@ +name: Build Geode Mod + +on: + workflow_dispatch: + push: + +jobs: + build: + strategy: + fail-fast: false + matrix: + config: + - name: Windows + os: windows-latest + + - name: macOS + os: macos-latest + + - name: android + os: ubuntu-latest + + name: ${{ matrix.config.name }} + runs-on: ${{ matrix.config.os }} + + steps: + - uses: actions/checkout@v3 + + - name: Build the mod + uses: cvolton/build-geode-mod@main + with: + combine: true + sdk: 'latest' + + package: + name: Package builds + runs-on: ubuntu-latest + needs: ['build'] + + steps: + - uses: cvolton/build-geode-mod@combine + id: build + + - uses: actions/upload-artifact@v3 + with: + name: Build Output + path: ${{ steps.build.outputs.build-output }} \ No newline at end of file