From 7f6d34c1199e4a479b8ae8239c3e3e4672ef1949 Mon Sep 17 00:00:00 2001 From: Fire <17692105+FireMario211@users.noreply.github.com> Date: Mon, 20 Nov 2023 23:59:02 +0000 Subject: [PATCH] github actions build will do android later --- .github/workflows/build.yml | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 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 00000000..a0b077ee --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,44 @@ +name: Build Geode Mod + +on: + workflow_dispatch: + push: + branches: + - "main" + +jobs: + build: + strategy: + fail-fast: false + matrix: + config: + - name: Windows + os: windows-latest + + - name: MacOS + os: macos-latest + + name: ${{ matrix.config.name }} + runs-on: ${{ matrix.config.os }} + + steps: + - uses: actions/checkout@v3 + + - name: Build the mod + uses: geode-sdk/build-geode-mod@main + with: + combine: true + + package: + name: Package builds + runs-on: ubuntu-latest + needs: ['build'] + + steps: + - uses: geode-sdk/build-geode-mod@combine + id: build + + - uses: actions/upload-artifact@v3 + with: + name: Globed Build Output + path: ${{ steps.build.outputs.build-output }}