Build a Mojang mapped jar in addition to the reobf one, publish both to Modrinth with correct metadata (#2981)

This commit is contained in:
Jason Penilla
2024-11-14 09:20:53 -07:00
committed by GitHub
parent e3fc35ce6d
commit dcd6b93ebb
11 changed files with 154 additions and 32 deletions

View File

@ -70,9 +70,9 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: FastAsyncWorldEdit-Bukkit-SNAPSHOT
path: worldedit-bukkit/build/libs/FastAsyncWorldEdit-Bukkit-*.jar
path: worldedit-bukkit/build/libs/FastAsyncWorldEdit-*.jar
- name: Publish to Modrinth
if: ${{ runner.os == 'Linux' && env.STATUS == 'release' && github.event_name == 'push' && github.ref == 'refs/heads/main'}}
run: ./gradlew modrinth
run: ./gradlew publishMods
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}