From 49bc0fc62e8ee856d05e3a28db5a99d530d040a7 Mon Sep 17 00:00:00 2001 From: Dario Pranjic Date: Tue, 31 Dec 2024 09:52:05 +0100 Subject: [PATCH] fix modrinth upload --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fa42bb4..944bdc7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,9 +57,9 @@ jobs: run: | curl -X POST \ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - -F "file=@$JAR_FILE" \ - -F "name=$(basename "$JAR_FILE")" \ - "${{ github.event.release.upload_url }}?name=$(basename "$JAR_FILE")" + -F "file=@${env.JAR_FILE}" \ + -F "name=$(basename "${env.JAR_FILE}")" \ + "${{ github.event.release.upload_url }}?name=$(basename "${env.JAR_FILE}")" - name: Upload to Modrinth uses: RubixDev/modrinth-upload@v1 with: @@ -73,4 +73,4 @@ jobs: release_type: ${{ env.VERSION_TYPE }} loaders: paper,purpur featured: true - project_id: ${{ secrets.PROJECT_VERSION }} \ No newline at end of file + project_id: ${{ secrets.PROJECT_ID }} \ No newline at end of file