Skip to content

Commit

Permalink
fix modrinth upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Knerio committed Dec 31, 2024
1 parent 4e17fa1 commit 49bc0fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -73,4 +73,4 @@ jobs:
release_type: ${{ env.VERSION_TYPE }}
loaders: paper,purpur
featured: true
project_id: ${{ secrets.PROJECT_VERSION }}
project_id: ${{ secrets.PROJECT_ID }}

0 comments on commit 49bc0fc

Please sign in to comment.