File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 contents : write
2323 steps :
2424 - name : checkout repository
25- uses : actions/checkout@v4
25+ uses : actions/checkout@v6
2626 - name : Sync translations
2727 if : " github.repository == 'mc-wiki/minecraft-mod-heywiki' && (github.ref_name == 'master' || startsWith(github.ref_name, 'mc/')) && runner.os == 'Linux' && matrix.java == '21'"
2828 uses : crowdin/github-action@v2
4242 CROWDIN_PROJECT_ID : 665004
4343 CROWDIN_PERSONAL_TOKEN : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
4444 - name : validate gradle wrapper
45- uses : gradle/wrapper-validation-action@v1
45+ uses : gradle/actions/ wrapper-validation@v3
4646 - name : setup jdk ${{ matrix.java }}
47- uses : actions/setup-java@v4
47+ uses : actions/setup-java@v5
4848 with :
4949 java-version : ${{ matrix.java }}
5050 distribution : ' microsoft'
5454 run : ./gradlew build
5555 - name : capture build artifacts
5656 if : ${{ runner.os == 'Linux' && matrix.java == '25' }} # Only upload artifacts built from latest java on one OS
57- uses : actions/upload-artifact@v4
57+ uses : actions/upload-artifact@v7
5858 with :
5959 name : Artifacts
6060 path : ' **/build/libs/'
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ jobs:
1313 contents : write
1414 steps :
1515 - name : checkout repository
16- uses : actions/checkout@v4
16+ uses : actions/checkout@v6
1717 - name : validate gradle wrapper
18- uses : gradle/wrapper-validation-action@v1
18+ uses : gradle/actions/ wrapper-validation@v3
1919 - name : setup jdk ${{ env.JAVA_VERSION }}
20- uses : actions/setup-java@v4
20+ uses : actions/setup-java@v5
2121 with :
2222 java-version : ${{ env.JAVA_VERSION }}
2323 distribution : ' microsoft'
3030 MODRINTH_TOKEN : ${{ secrets.MODRINTH_TOKEN }}
3131 BRANCH : ${{ github.ref_name }}
3232 - name : capture build artifacts
33- uses : actions/upload-artifact@v4
33+ uses : actions/upload-artifact@v7
3434 with :
3535 name : Artifacts
3636 path : ' **/build/libs/'
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ publishMods {
170170 accessToken = providers.environmentVariable(" CURSEFORGE_TOKEN" )
171171 projectId = " 997027"
172172 minecraftVersions = supportedMinecraftVersions
173+ client = true
173174 }
174175 val githubOptions = githubOptions {
175176 accessToken = providers.environmentVariable(" GITHUB_TOKEN" )
@@ -178,15 +179,25 @@ publishMods {
178179 }
179180 modrinth(" modrinthFabric" ) {
180181 from(modrinthOptions, fabricOptions)
182+ requires(" fabric-api" )
183+ requires(" cloth-config" )
184+ requires(" modmenu" )
181185 }
182186 modrinth(" modrinthNeoforge" ) {
183187 from(modrinthOptions, neoforgeOptions)
188+ requires(" cloth-config" )
184189 }
185190 curseforge(" curseforgeFabric" ) {
186191 from(curseforgeOptions, fabricOptions)
192+ requires(" fabric-api" )
193+ requires(" cloth-config" )
194+ requires(" modmenu" )
187195 }
188196 curseforge(" curseforgeNeoforge" ) {
189197 from(curseforgeOptions, neoforgeOptions)
198+ requires(" fabric-api" )
199+ requires(" cloth-config" )
200+ requires(" modmenu" )
190201 }
191202 github(" github" ) {
192203 from(githubOptions, publishOptions {
You can’t perform that action at this time.
0 commit comments