From 401b438a1a4b97c50765f39a4d778af9fb187fca Mon Sep 17 00:00:00 2001 From: William Date: Sun, 23 Apr 2023 16:44:34 +0100 Subject: [PATCH] Test publishing to hangar with mc-publish --- .github/workflows/java_ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/java_ci.yml b/.github/workflows/java_ci.yml index 4fc62dd..8da61a2 100644 --- a/.github/workflows/java_ci.yml +++ b/.github/workflows/java_ci.yml @@ -34,11 +34,14 @@ jobs: run: | echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV - name: Upload to Modrinth - uses: Kir-Antipov/mc-publish@v3.2 + uses: WiIIiam278/mc-publish@hangar with: modrinth-id: Q10irTG0 modrinth-featured: false modrinth-token: ${{ secrets.MODRINTH_TOKEN }} + hangar-id: William278/Velocitab + hangar-token: ${{ secrets.HANGAR_API_KEY }} + hangar-version-type: Alpha files: target/Velocitab-*.jar name: Velocitab v${{ env.version_name }} version: ${{ env.version_name }}