From 49b7b7d5602e219a6826e53310a4f7b517e6b7e2 Mon Sep 17 00:00:00 2001 From: Steveplays28 Date: Sun, 8 Sep 2024 12:25:21 +0200 Subject: [PATCH] ci: Fix Forge publishing in the workflows --- .github/workflows/publish-curseforge.yml | 6 +++--- .github/workflows/publish-modrinth.yml | 6 +++--- .github/workflows/publish.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-curseforge.yml b/.github/workflows/publish-curseforge.yml index 3a25328..1d3f714 100644 --- a/.github/workflows/publish-curseforge.yml +++ b/.github/workflows/publish-curseforge.yml @@ -85,7 +85,7 @@ jobs: changelog-file: CHANGELOG_LATEST.md # https://github.com/marketplace/actions/mc-publish - - name: Publish mod (NeoForge) + - name: Publish mod (NeoForge/Forge) uses: Kir-Antipov/mc-publish@v3.3 with: # CurseForge @@ -94,8 +94,8 @@ jobs: name: ${{ steps.mod_version.outputs.value }} (${{ steps.supported_minecraft_version_name.outputs.value }}) github-tag: ${{ env.release_tag_name }} files: | - neoforge/build/libs/!(*-@(sources|dev-shadow|javadoc|transformProduction*).jar) - neoforge/build/libs/*-@(sources|javadoc).jar + forge/build/libs/!(*-@(sources|dev-shadow|javadoc|transformProduction*).jar) + forge/build/libs/*-@(sources|javadoc).jar version-type: release modrinth-featured: false changelog-file: CHANGELOG_LATEST.md diff --git a/.github/workflows/publish-modrinth.yml b/.github/workflows/publish-modrinth.yml index d9fba8f..2a60985 100644 --- a/.github/workflows/publish-modrinth.yml +++ b/.github/workflows/publish-modrinth.yml @@ -85,7 +85,7 @@ jobs: changelog-file: CHANGELOG_LATEST.md # https://github.com/marketplace/actions/mc-publish - - name: Publish mod (NeoForge) + - name: Publish mod (NeoForge/Forge) uses: Kir-Antipov/mc-publish@v3.3 with: # Modrinth @@ -94,8 +94,8 @@ jobs: name: ${{ steps.mod_version.outputs.value }} (${{ steps.supported_minecraft_version_name.outputs.value }}) github-tag: ${{ env.release_tag_name }} files: | - neoforge/build/libs/!(*-@(sources|dev-shadow|javadoc|transformProduction*).jar) - neoforge/build/libs/*-@(sources|javadoc).jar + forge/build/libs/!(*-@(sources|dev-shadow|javadoc|transformProduction*).jar) + forge/build/libs/*-@(sources|javadoc).jar version-type: release modrinth-featured: false changelog-file: CHANGELOG_LATEST.md diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1be9ca7..ff6d0e3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -88,7 +88,7 @@ jobs: changelog-file: CHANGELOG_LATEST.md # https://github.com/marketplace/actions/mc-publish - - name: Publish mod (NeoForge) + - name: Publish mod (NeoForge/Forge) uses: Kir-Antipov/mc-publish@v3.3 with: # Modrinth @@ -100,8 +100,8 @@ jobs: name: ${{ steps.mod_version.outputs.value }} (${{ steps.supported_minecraft_version_name.outputs.value }}) github-tag: ${{ env.release_tag_name }} files: | - neoforge/build/libs/!(*-@(sources|dev-shadow|javadoc|transformProduction*).jar) - neoforge/build/libs/*-@(sources|javadoc).jar + forge/build/libs/!(*-@(sources|dev-shadow|javadoc|transformProduction*).jar) + forge/build/libs/*-@(sources|javadoc).jar version-type: release modrinth-featured: false changelog-file: CHANGELOG_LATEST.md