diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index dd81a17..863ea57 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -25,10 +25,22 @@ jobs: - uses: eskatos/gradle-command-action@v1 with: gradle-version: 7.3 - arguments: build additionalCopy + arguments: build - - name: Upload assets to GitHub - uses: AButler/upload-release-assets@v2.0 + - uses: Kir-Antipov/mc-publish@v3.2 with: - files: 'build/to_upload/*' - repo-token: ${{ secrets.GITHUB_TOKEN }} + version-type: alpha + dependencies: "" + changelog: "" + + files-primary: build/libs/!(*-@(dev|sources|javadoc)).jar + files-secondary: "" + + modrinth-id: n1B6JCKV + modrinth-token: ${{ secrets.MODRINTH_TOKEN }} + modrinth-featured: false + + curseforge-id: 839380 + curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} + + github-token: ${{ secrets.GITHUB_TOKEN }}