From 6da1b1b45da92ed4d194611e55eb6a48ad85f699 Mon Sep 17 00:00:00 2001 From: tr7zw Date: Fri, 6 Dec 2024 19:30:06 +0100 Subject: [PATCH] Redeploy --- .github/workflows/tag.yml | 217 +++++++++++++------------------------- 1 file changed, 74 insertions(+), 143 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 9ea1ba0..d4fdd13 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -16,119 +16,14 @@ jobs: run: chmod +x ./gradlecw - name: build run: ./gradlecw build -Pbuild.release=true - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: 'versions/**/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - - name: Publish-1.19.3-forge-Curseforge - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - curseforge-id: 448233 - curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} - loaders: forge - name: ${{github.ref_name}}-1.19.3 - Forge - version-type: beta - files: 'versions/1.19.3-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.19.3 - - name: Publish-1.19.3-forge-Modrinth - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - modrinth-id: NNAgCjsB - modrinth-token: ${{ secrets.MODRINTH_TOKEN }} - loaders: forge - name: ${{github.ref_name}}-1.19.3 - Forge - files: 'versions/1.19.3-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.19.3 - - name: Publish-1.19.3-fabric-Curseforge - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - curseforge-id: 448233 - curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} - loaders: fabric - name: ${{github.ref_name}}-1.19.3 - Fabric - files: 'versions/1.19.3-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.19.3 - - name: Publish-1.19.3-fabric-Modrinth - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - modrinth-id: NNAgCjsB - modrinth-token: ${{ secrets.MODRINTH_TOKEN }} - loaders: fabric - name: ${{github.ref_name}}-1.19.3 - Fabric - files: 'versions/1.19.3-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.19.3 - - name: Publish-1.19.4-forge-Curseforge - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - curseforge-id: 448233 - curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} - loaders: forge - name: ${{github.ref_name}}-1.19.4 - Forge - version-type: beta - files: 'versions/1.19.4-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.19.4 - - name: Publish-1.19.4-forge-Modrinth - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - modrinth-id: NNAgCjsB - modrinth-token: ${{ secrets.MODRINTH_TOKEN }} - loaders: forge - name: ${{github.ref_name}}-1.19.4 - Forge - files: 'versions/1.19.4-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.19.4 - - name: Publish-1.19.4-fabric-Curseforge - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - curseforge-id: 448233 - curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} - loaders: fabric - name: ${{github.ref_name}}-1.19.4 - Fabric - files: 'versions/1.19.4-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.19.4 - - name: Publish-1.19.4-fabric-Modrinth - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - modrinth-id: NNAgCjsB - modrinth-token: ${{ secrets.MODRINTH_TOKEN }} - loaders: fabric - name: ${{github.ref_name}}-1.19.4 - Fabric - files: 'versions/1.19.4-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.19.4 - - name: Publish-1.20.1-forge-Curseforge - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - curseforge-id: 448233 - curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} - loaders: forge - name: ${{github.ref_name}}-1.20.1 - Forge - version-type: beta - files: 'versions/1.20.1-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.20.1 - - name: Publish-1.20.1-forge-Modrinth - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - modrinth-id: NNAgCjsB - modrinth-token: ${{ secrets.MODRINTH_TOKEN }} - loaders: forge - name: ${{github.ref_name}}-1.20.1 - Forge - files: 'versions/1.20.1-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.20.1 - - name: Publish-1.20.1-fabric-Curseforge - uses: Kir-Antipov/mc-publish@v3.3.0 - with: - curseforge-id: 448233 - curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} - loaders: fabric - name: ${{github.ref_name}}-1.20.1 - Fabric - files: 'versions/1.20.1-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' - game-versions: 1.20.1 - name: Publish-1.20.1-fabric-Modrinth uses: Kir-Antipov/mc-publish@v3.3.0 with: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.20.1 - Fabric + version: 1.7.2 + name: 1.7.2-1.20.1 - Fabric files: 'versions/1.20.1-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.1 - name: Publish-1.20.2-forge-Curseforge @@ -137,7 +32,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.20.2 - Forge + version: 1.7.2 + name: 1.7.2-1.20.2 - Forge version-type: beta files: 'versions/1.20.2-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.2 @@ -147,7 +43,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.20.2 - Forge + version: 1.7.2 + name: 1.7.2-1.20.2 - Forge files: 'versions/1.20.2-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.2 - name: Publish-1.20.2-neoforge-Curseforge @@ -156,7 +53,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.20.2 - NeoForge + version: 1.7.2 + name: 1.7.2-1.20.2 - NeoForge version-type: beta files: 'versions/1.20.2-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.2 @@ -166,7 +64,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.20.2 - NeoForge + version: 1.7.2 + name: 1.7.2-1.20.2 - NeoForge files: 'versions/1.20.2-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.2 - name: Publish-1.20.2-fabric-Curseforge @@ -175,7 +74,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.20.2 - Fabric + version: 1.7.2 + name: 1.7.2-1.20.2 - Fabric files: 'versions/1.20.2-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.2 - name: Publish-1.20.2-fabric-Modrinth @@ -184,7 +84,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.20.2 - Fabric + version: 1.7.2 + name: 1.7.2-1.20.2 - Fabric files: 'versions/1.20.2-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.2 - name: Publish-1.20.4-forge-Curseforge @@ -193,7 +94,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.20.4 - Forge + version: 1.7.2 + name: 1.7.2-1.20.4 - Forge version-type: beta files: 'versions/1.20.4-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.4 @@ -203,7 +105,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.20.4 - Forge + version: 1.7.2 + name: 1.7.2-1.20.4 - Forge files: 'versions/1.20.4-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.4 - name: Publish-1.20.4-neoforge-Curseforge @@ -212,7 +115,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.20.4 - NeoForge + version: 1.7.2 + name: 1.7.2-1.20.4 - NeoForge version-type: beta files: 'versions/1.20.4-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.4 @@ -222,7 +126,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.20.4 - NeoForge + version: 1.7.2 + name: 1.7.2-1.20.4 - NeoForge files: 'versions/1.20.4-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.4 - name: Publish-1.20.4-fabric-Curseforge @@ -231,7 +136,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.20.4 - Fabric + version: 1.7.2 + name: 1.7.2-1.20.4 - Fabric files: 'versions/1.20.4-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.4 - name: Publish-1.20.4-fabric-Modrinth @@ -240,7 +146,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.20.4 - Fabric + version: 1.7.2 + name: 1.7.2-1.20.4 - Fabric files: 'versions/1.20.4-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.4 - name: Publish-1.20.6-forge-Curseforge @@ -249,7 +156,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.20.6 - Forge + version: 1.7.2 + name: 1.7.2-1.20.6 - Forge version-type: beta files: 'versions/1.20.6-forge/build/libs/!(*-@(dev|sources|javadoc)).jar' game-versions: 1.20.6 @@ -259,7 +167,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.20.6 - Forge + version: 1.7.2 + name: 1.7.2-1.20.6 - Forge files: 'versions/1.20.6-forge/build/libs/!(*-@(dev|sources|javadoc)).jar' game-versions: 1.20.6 - name: Publish-1.20.6-neoforge-Curseforge @@ -268,7 +177,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.20.6 - NeoForge + version: 1.7.2 + name: 1.7.2-1.20.6 - NeoForge version-type: beta files: 'versions/1.20.6-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.6 @@ -278,7 +188,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.20.6 - NeoForge + version: 1.7.2 + name: 1.7.2-1.20.6 - NeoForge files: 'versions/1.20.6-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.6 - name: Publish-1.20.6-fabric-Curseforge @@ -287,7 +198,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.20.6 - Fabric + version: 1.7.2 + name: 1.7.2-1.20.6 - Fabric files: 'versions/1.20.6-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.6 - name: Publish-1.20.6-fabric-Modrinth @@ -296,7 +208,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.20.6 - Fabric + version: 1.7.2 + name: 1.7.2-1.20.6 - Fabric files: 'versions/1.20.6-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.20.6 - name: Publish-1.21-forge-Curseforge @@ -305,7 +218,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.21(.1) - Forge + version: 1.7.2 + name: 1.7.2-1.21(.1) - Forge version-type: beta files: 'versions/1.21-forge/build/libs/!(*-@(dev|sources|javadoc)).jar' game-versions: | @@ -317,7 +231,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.21(.1) - Forge + version: 1.7.2 + name: 1.7.2-1.21(.1) - Forge files: 'versions/1.21-forge/build/libs/!(*-@(dev|sources|javadoc)).jar' game-versions: | 1.21 @@ -328,7 +243,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.21(.1) - NeoForge + version: 1.7.2 + name: 1.7.2-1.21(.1) - NeoForge version-type: beta files: 'versions/1.21-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: | @@ -340,7 +256,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.21(.1) - NeoForge + version: 1.7.2 + name: 1.7.2-1.21(.1) - NeoForge files: 'versions/1.21-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: | 1.21 @@ -351,7 +268,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.21(.1) - Fabric + version: 1.7.2 + name: 1.7.2-1.21(.1) - Fabric files: 'versions/1.21-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: | 1.21 @@ -362,7 +280,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.21(.1) - Fabric + version: 1.7.2 + name: 1.7.2-1.21(.1) - Fabric files: 'versions/1.21-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: | 1.21 @@ -373,7 +292,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.21.3 - NeoForge + version: 1.7.2 + name: 1.7.2-1.21.3 - NeoForge version-type: beta files: 'versions/1.21.3-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.3 @@ -383,7 +303,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.21.3 - NeoForge + version: 1.7.2 + name: 1.7.2-1.21.3 - NeoForge files: 'versions/1.21.3-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.3 - name: Publish-1.21.3-forge-Curseforge @@ -392,7 +313,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.21.3 - Forge + version: 1.7.2 + name: 1.7.2-1.21.3 - Forge version-type: beta files: 'versions/1.21.3-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.3 @@ -402,7 +324,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.21.3 - Forge + version: 1.7.2 + name: 1.7.2-1.21.3 - Forge files: 'versions/1.21.3-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.3 - name: Publish-1.21.3-fabric-Curseforge @@ -411,7 +334,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.21.3 - Fabric + version: 1.7.2 + name: 1.7.2-1.21.3 - Fabric files: 'versions/1.21.3-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.3 - name: Publish-1.21.3-fabric-Modrinth @@ -420,7 +344,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.21.3 - Fabric + version: 1.7.2 + name: 1.7.2-1.21.3 - Fabric files: 'versions/1.21.3-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.3 - name: Publish-1.21.4-neoforge-Curseforge @@ -429,7 +354,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.21.4 - NeoForge + version: 1.7.2 + name: 1.7.2-1.21.4 - NeoForge version-type: beta files: 'versions/1.21.4-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.4 @@ -439,7 +365,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: neoforge - name: ${{github.ref_name}}-1.21.4 - NeoForge + version: 1.7.2 + name: 1.7.2-1.21.4 - NeoForge files: 'versions/1.21.4-neoforge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.4 - name: Publish-1.21.4-forge-Curseforge @@ -448,7 +375,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.21.4 - Forge + version: 1.7.2 + name: 1.7.2-1.21.4 - Forge version-type: beta files: 'versions/1.21.4-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.4 @@ -458,7 +386,8 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: forge - name: ${{github.ref_name}}-1.21.4 - Forge + version: 1.7.2 + name: 1.7.2-1.21.4 - Forge files: 'versions/1.21.4-forge/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.4 - name: Publish-1.21.4-fabric-Curseforge @@ -467,7 +396,8 @@ jobs: curseforge-id: 448233 curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.21.4 - Fabric + version: 1.7.2 + name: 1.7.2-1.21.4 - Fabric files: 'versions/1.21.4-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.4 - name: Publish-1.21.4-fabric-Modrinth @@ -476,6 +406,7 @@ jobs: modrinth-id: NNAgCjsB modrinth-token: ${{ secrets.MODRINTH_TOKEN }} loaders: fabric - name: ${{github.ref_name}}-1.21.4 - Fabric + version: 1.7.2 + name: 1.7.2-1.21.4 - Fabric files: 'versions/1.21.4-fabric/build/libs/!(*-@(dev|sources|javadoc|all)).jar' game-versions: 1.21.4