Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Naxrin authored Apr 1, 2024
1 parent bbba7dd commit 6a26d67
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,43 @@
name: Build Geode Mod
name: Build Geode Mod 2

on:
workflow_dispatch:
push:
branches:
- "1.2.0"
- "**"

jobs:
build:
strategy:
fail-fast: false
matrix:
config:
- name: Windows
os: windows-latest

- name: macOS
os: macos-latest
- name: Windows
os: windows-latest

- name: Android32
os: ubuntu-latest
target: Android32
- name: macOS
os: macos-latest

- name: Android64
os: ubuntu-latest
target: Android64
- name: Android32
os: ubuntu-latest
target: Android32

- name: Android64
os: ubuntu-latest
target: Android64

name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build the mod
uses: geode-sdk/build-geode-mod@main
with:
combine: true
sdk: nightly
target: ${{ matrix.config.target }}

package:
name: Package builds
runs-on: ubuntu-latest
Expand All @@ -48,7 +47,7 @@ jobs:
- uses: geode-sdk/build-geode-mod/combine@main
id: build

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Build Output
path: ${{ steps.build.outputs.build-output }}

0 comments on commit 6a26d67

Please sign in to comment.