Skip to content

Commit dd1769b

Browse files
committed
CI: Potentially fix builds
1 parent 371e4d9 commit dd1769b

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,22 @@ jobs:
5050
cat gradle.properties
5151
5252
- name: Build
53-
run: ./gradlew build
53+
run: ./gradlew jar
5454

5555
- name: Upload artifacts (Fabric)
5656
uses: actions/upload-artifact@v4
5757
with:
5858
name: "mismatched-chests-fabric"
59-
path: "./fabric/build/libs/mismatched_chests-fabric-1.21-${{ steps.set_version.outputs.new_version }}*.jar"
59+
path: "./fabric/build/libs/mismatched_chests-fabric-1.21.1-${{ steps.set_version.outputs.new_version }}*.jar"
6060

6161
- name: Upload artifacts (Neoforge)
6262
uses: actions/upload-artifact@v4
6363
with:
6464
name: "mismatched-chests-neoforge"
65-
path: "./neoforge/build/libs/mismatched_chests-neoforge-1.21-${{ steps.set_version.outputs.new_version }}*.jar"
65+
path: "./neoforge/build/libs/mismatched_chests-neoforge-1.21.1-${{ steps.set_version.outputs.new_version }}*.jar"
6666

6767
- name: Upload artifacts (Forge)
6868
uses: actions/upload-artifact@v4
6969
with:
7070
name: "mismatched-chests-forge"
71-
path: "./forge/build/libs/Mismatched Chests-forge-1.21-${{ steps.set_version.outputs.new_version }}*.jar"
71+
path: "./forge/build/libs/Mismatched Chests-forge-1.21.1-${{ steps.set_version.outputs.new_version }}*.jar"

settings.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,13 @@ pluginManagement {
3939
}
4040
}
4141

42+
plugins {
43+
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
44+
}
45+
46+
// This should match the folder name of the project, or else IDEA may complain (see https://youtrack.jetbrains.com/issue/IDEA-317606)
47+
rootProject.name = 'Mismatched chests multiloader'
48+
include('common')
49+
include('fabric')
50+
include('neoforge')
51+
include('forge')

0 commit comments

Comments
 (0)