Skip to content

Commit f119192

Browse files
committed
build stuff
1 parent 2df7b2c commit f119192

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Build Geode Mod
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- "**"
8+
9+
jobs:
10+
build:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
config:
15+
- name: Windows
16+
os: windows-latest
17+
18+
- name: macOS
19+
os: macos-latest
20+
21+
name: ${{ matrix.config.name }}
22+
runs-on: ${{ matrix.config.os }}
23+
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- name: Build the mod
28+
uses: geode-sdk/build-geode-mod@main
29+
with:
30+
combine: true
31+
target: ${{ matrix.config.target }}
32+
sdk: nightly
33+
34+
package:
35+
name: Package builds
36+
runs-on: ubuntu-latest
37+
needs: ['build']
38+
39+
steps:
40+
- uses: geode-sdk/build-geode-mod/combine@main
41+
id: build
42+
43+
- uses: actions/upload-artifact@v4
44+
with:
45+
name: Build Output
46+
path: ${{ steps.build.outputs.build-output }}

0 commit comments

Comments
 (0)