diff --git a/.github/workflows/build_and_publish.yaml b/.github/workflows/build_and_publish.yaml index 584eada4..cd6cda98 100644 --- a/.github/workflows/build_and_publish.yaml +++ b/.github/workflows/build_and_publish.yaml @@ -71,19 +71,19 @@ jobs: #tag: ${{ github.ref }} artifacts: neo/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-neoforge-${{ steps.get_version.outputs.result }}.jar,neo/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-neoforge-${{ steps.get_version.outputs.result }}-slim.jar,neo/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-neoforge-${{ steps.get_version.outputs.result }}-sources.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}-sources.jar artifactContentType: application/java-archive - - name: Create Forge Release - id: create_forge_release - uses: ncipollo/release-action@v1 - with: - allowUpdates: true - draft: false - replacesArtifacts: false - name: modonomicon-${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }}-${{ steps.get_release_type.outputs.result }} - body: ${{ steps.changelog.outputs.changes }} - token: ${{ github.token }} - #tag: ${{ github.ref }} - artifacts: forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar,forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-slim.jar,forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-sources.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}-sources.jar - artifactContentType: application/java-archive +# - name: Create Forge Release +# id: create_forge_release +# uses: ncipollo/release-action@v1 +# with: +# allowUpdates: true +# draft: false +# replacesArtifacts: false +# name: modonomicon-${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }}-${{ steps.get_release_type.outputs.result }} +# body: ${{ steps.changelog.outputs.changes }} +# token: ${{ github.token }} +# #tag: ${{ github.ref }} +# artifacts: forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar,forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-slim.jar,forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-sources.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}.jar,common/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-common-${{ steps.get_version.outputs.result }}-sources.jar +# artifactContentType: application/java-archive - name: Create Fabric Release id: create_fabric_release uses: ncipollo/release-action@v1 @@ -130,32 +130,32 @@ jobs: Find changes for all versions at https://github.com/klikli-dev/modonomicon/releases dependencies: | jei(optional) - - name: Upload Forge Version to Mod Platforms - uses: Kir-Antipov/mc-publish@v3.3.0 - if: ${{ steps.get_release_type.outputs.result != 'test' }} - with: - modrinth-id: 692GClaE - modrinth-token: ${{ secrets.MODRINTH_API_KEY }} - curseforge-id: 538392 - curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }} - - files: | - forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar - forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-sources.jar - - name: modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar - version: ${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }} - version-type: ${{ steps.get_release_type.outputs.result }} - loaders: | - forge - game-versions: | - ${{ steps.get_mc_version.outputs.result }} - changelog: |- - ${{ steps.changelog.outputs.changes }} - - Find changes for all versions at https://github.com/klikli-dev/modonomicon/releases - dependencies: | - jei(optional) +# - name: Upload Forge Version to Mod Platforms +# uses: Kir-Antipov/mc-publish@v3.3.0 +# if: ${{ steps.get_release_type.outputs.result != 'test' }} +# with: +# modrinth-id: 692GClaE +# modrinth-token: ${{ secrets.MODRINTH_API_KEY }} +# curseforge-id: 538392 +# curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }} +# +# files: | +# forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar +# forge/build/libs/modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}-sources.jar +# +# name: modonomicon-${{ steps.get_mc_version.outputs.result }}-forge-${{ steps.get_version.outputs.result }}.jar +# version: ${{ steps.get_mc_version.outputs.result }}-${{ steps.get_version.outputs.result }} +# version-type: ${{ steps.get_release_type.outputs.result }} +# loaders: | +# forge +# game-versions: | +# ${{ steps.get_mc_version.outputs.result }} +# changelog: |- +# ${{ steps.changelog.outputs.changes }} +# +# Find changes for all versions at https://github.com/klikli-dev/modonomicon/releases +# dependencies: | +# jei(optional) - name: Upload Fabric Version to Mod Platforms uses: Kir-Antipov/mc-publish@v3.3.0 if: ${{ steps.get_release_type.outputs.result != 'test' }}