Skip to content

Commit

Permalink
fix gh release upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Knerio committed Dec 31, 2024
1 parent adb1664 commit 4e17fa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Content-Type: application/java-archive" \
--data-binary @"$JAR_FILE" \
-F "file=@$JAR_FILE" \
-F "name=$(basename "$JAR_FILE")" \
"${{ github.event.release.upload_url }}?name=$(basename "$JAR_FILE")"
- name: Upload to Modrinth
uses: RubixDev/modrinth-upload@v1
Expand Down

0 comments on commit 4e17fa1

Please sign in to comment.