2.1.0 #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Release | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
- name: Cache Gradle | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper/ | |
key: ${{runner.os}}-gradle | |
restore-keys: | | |
${{runner.os}}-gradle | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
gradle-version: "wrapper" | |
- name: Build JARs | |
uses: Wandalen/wretry.action@master | |
with: | |
command: "gradle chiseledBuild" | |
attempt_limit: 3 | |
- name: Publish-1.20.1-Fabric-Curseforge | |
uses: Kir-Antipov/[email protected] | |
with: | |
curseforge-id: 882472 | |
curseforge-token: ${{secrets.CURSEFORGE_TOKEN}} | |
name: v${{github.ref_name}} for Fabric 1.20.1 | |
files: | | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.20.1.jar | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.20.1-@(dev|sources|javadoc).jar | |
- name: Publish-1.20.1-Fabric-Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: tbktcZz2 | |
modrinth-token: ${{secrets.MODRINTH_TOKEN}} | |
name: v${{github.ref_name}} for Fabric 1.20.1 | |
files: | | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.20.1.jar | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.20.1-@(dev|sources|javadoc).jar | |
- name: Publish-1.20.6-Fabric-Curseforge | |
uses: Kir-Antipov/[email protected] | |
with: | |
curseforge-id: 882472 | |
curseforge-token: ${{secrets.CURSEFORGE_TOKEN}} | |
name: v${{github.ref_name}} for Fabric 1.20.6 | |
files: | | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.20.6.jar | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.20.6-@(dev|sources|javadoc).jar | |
- name: Publish-1.20.6-Fabric-Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: tbktcZz2 | |
modrinth-token: ${{secrets.MODRINTH_TOKEN}} | |
name: v${{github.ref_name}} for Fabric 1.20.6 | |
files: | | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.20.6.jar | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.20.6-@(dev|sources|javadoc).jar | |
- name: Publish-1.21.1-Fabric-Curseforge | |
uses: Kir-Antipov/[email protected] | |
with: | |
curseforge-id: 882472 | |
curseforge-token: ${{secrets.CURSEFORGE_TOKEN}} | |
name: v${{github.ref_name}} for Fabric 1.21.1 | |
files: | | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.21.1.jar | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.21.1-@(dev|sources|javadoc).jar | |
- name: Publish-1.21.1-Fabric-Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: tbktcZz2 | |
modrinth-token: ${{secrets.MODRINTH_TOKEN}} | |
name: v${{github.ref_name}} for Fabric 1.21.1 | |
files: | | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.21.1.jar | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.21.1-@(dev|sources|javadoc).jar | |
- name: Publish-1.21.3-Fabric-Curseforge | |
uses: Kir-Antipov/[email protected] | |
with: | |
curseforge-id: 882472 | |
curseforge-token: ${{secrets.CURSEFORGE_TOKEN}} | |
name: v${{github.ref_name}} for Fabric 1.21.3 | |
files: | | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.21.3.jar | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.21.3-@(dev|sources|javadoc).jar | |
- name: Publish-1.21.3-Fabric-Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: tbktcZz2 | |
modrinth-token: ${{secrets.MODRINTH_TOKEN}} | |
name: v${{github.ref_name}} for Fabric 1.21.3 | |
files: | | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.21.3.jar | |
build/libs/${{github.ref_name}}/fabric/*[+.-]1.21.3-@(dev|sources|javadoc).jar | |
- name: Publish-1.20.1-Forge-Curseforge | |
uses: Kir-Antipov/[email protected] | |
with: | |
curseforge-id: 882472 | |
curseforge-token: ${{secrets.CURSEFORGE_TOKEN}} | |
name: v${{github.ref_name}} for Forge 1.20.1 | |
files: | | |
build/libs/${{github.ref_name}}/forge/*[+.-]1.20.1.jar | |
build/libs/${{github.ref_name}}/forge/*[+.-]1.20.1-@(dev|sources|javadoc).jar | |
- name: Publish-1.20.1-Forge-Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: tbktcZz2 | |
modrinth-token: ${{secrets.MODRINTH_TOKEN}} | |
name: v${{github.ref_name}} for Forge 1.20.1 | |
files: | | |
build/libs/${{github.ref_name}}/forge/*[+.-]1.20.1.jar | |
build/libs/${{github.ref_name}}/forge/*[+.-]1.20.1-@(dev|sources|javadoc).jar | |
- name: Publish-1.20.6-NeoForge-Curseforge | |
uses: Kir-Antipov/[email protected] | |
with: | |
curseforge-id: 882472 | |
curseforge-token: ${{secrets.CURSEFORGE_TOKEN}} | |
name: v${{github.ref_name}} for NeoForge 1.20.6 | |
files: | | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.20.6.jar | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.20.6-@(dev|sources|javadoc).jar | |
- name: Publish-1.20.6-NeoForge-Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: tbktcZz2 | |
modrinth-token: ${{secrets.MODRINTH_TOKEN}} | |
name: v${{github.ref_name}} for NeoForge 1.20.6 | |
files: | | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.20.6.jar | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.20.6-@(dev|sources|javadoc).jar | |
- name: Publish-1.21.1-NeoForge-Curseforge | |
uses: Kir-Antipov/[email protected] | |
with: | |
curseforge-id: 882472 | |
curseforge-token: ${{secrets.CURSEFORGE_TOKEN}} | |
name: v${{github.ref_name}} for NeoForge 1.21.1 | |
files: | | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.21.1.jar | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.21.1-@(dev|sources|javadoc).jar | |
- name: Publish-1.21.1-NeoForge-Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: tbktcZz2 | |
modrinth-token: ${{secrets.MODRINTH_TOKEN}} | |
name: v${{github.ref_name}} for NeoForge 1.21.1 | |
files: | | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.21.1.jar | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.21.1-@(dev|sources|javadoc).jar | |
- name: Publish-1.21.3-NeoForge-Curseforge | |
uses: Kir-Antipov/[email protected] | |
with: | |
curseforge-id: 882472 | |
curseforge-token: ${{secrets.CURSEFORGE_TOKEN}} | |
name: v${{github.ref_name}} for NeoForge 1.21.3 | |
files: | | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.21.3.jar | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.21.3-@(dev|sources|javadoc).jar | |
- name: Publish-1.21.3-NeoForge-Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: tbktcZz2 | |
modrinth-token: ${{secrets.MODRINTH_TOKEN}} | |
name: v${{github.ref_name}} for NeoForge 1.21.3 | |
files: | | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.21.3.jar | |
build/libs/${{github.ref_name}}/neoforge/*[+.-]1.21.3-@(dev|sources|javadoc).jar | |