From 6a26d67d88d26504c9d1e29e373f6584d053d225 Mon Sep 17 00:00:00 2001
From: Naxrin <94737247+Naxrin@users.noreply.github.com>
Date: Mon, 1 Apr 2024 20:15:32 +0800
Subject: [PATCH] Update main.yml

---
 .github/workflows/main.yml | 33 ++++++++++++++++-----------------
 1 file changed, 16 insertions(+), 17 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 10252b6..d9e7cac 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,10 +1,10 @@
-name: Build Geode Mod
+name: Build Geode Mod 2
 
 on:
   workflow_dispatch:
   push:
     branches:
-      - "1.2.0"
+      - "**"
 
 jobs:
   build:
@@ -12,33 +12,32 @@ jobs:
       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
@@ -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 }}