Skip to content

Support remapping mods from other namespaces than obfuscated/official #93

Support remapping mods from other namespaces than obfuscated/official

Support remapping mods from other namespaces than obfuscated/official #93

name: Build and Publish
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- name: Build with Gradle
run: ./gradlew build
- if: github.repository == 'FabricCompatibilityLayers/Mod-Remapping-API' && github.ref_type == 'tag'
name: Publish
run: ./gradlew build modrinth
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}