Skip to content

Commit

Permalink
github actions build
Browse files Browse the repository at this point in the history
will do android later
  • Loading branch information
FireMario211 authored Nov 20, 2023
1 parent 88efa6d commit 7f6d34c
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 7f6d34c

Please sign in to comment.