Skip to content

Commit

Permalink
Merge pull request #63 from larziwau/main
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
Fleeym authored Nov 8, 2024
2 parents c1d6061 + 833a843 commit b451d79
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Build Geode Mod
name: Build Jukebox

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

jobs:
build:
Expand All @@ -14,37 +14,40 @@ jobs:
config:
- name: Windows
os: windows-latest

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

- name: Android64
os: ubuntu-latest
target: Android64
name: ${{matrix.config.name}}
runs-on: ${{matrix.config.os}}

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

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4

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

package:
name: Package builds
runs-on: ubuntu-latest
needs: ['build']
needs: [build]

steps:
- uses: geode-sdk/build-geode-mod/combine@main
- name: Combine builds
uses: geode-sdk/build-geode-mod/combine@main
id: build

- uses: actions/upload-artifact@v3

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

0 comments on commit b451d79

Please sign in to comment.