Skip to content

Commit 0365b39

Browse files
committed
fix Github build script, remove remap output after each build to ensure ATs aren't added twice
1 parent 17b5aec commit 0365b39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
run: chmod +x ./gradlew
3939
# Build
4040
- name: Build with Gradle
41-
run: ./gradlew clean generateRemapClasspath jar
41+
run: ./gradlew clean generateRemapClasspath build
4242
# Publish
4343
- name: Publish CurseForge
44-
run: ./gradlew :Forge:publishCurseForge :Fabric:publishCurseForge :NeoForge:publishCurseForge
44+
run: ./gradlew cleanRemapJar :Forge:publishCurseForge :Fabric:publishCurseForge :NeoForge:publishCurseForge
4545
- name: Publish Modrinth
46-
run: ./gradlew :Forge:modrinth :Fabric:modrinth :NeoForge:modrinth
46+
run: ./gradlew cleanRemapJar :Forge:modrinth :Fabric:modrinth :NeoForge:modrinth
4747
- uses: actions/upload-artifact@v4
4848
with:
4949
if-no-files-found: error

0 commit comments

Comments
 (0)