Skip to content

Commit

Permalink
Fix publishCurseforge task running twice 🤦‍♂️
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Dec 10, 2024
1 parent 42b9860 commit 8040b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
id: cf_file_id
if: ${{ inputs.publish_curseforge }}
run: |
file_id=$(./gradlew getCurseforgeId | grep -o 'CURSEFORGE_FILE_ID=[0-9]*' | grep -o '[0-9]*')
file_id=$(./gradlew getCurseforgeId -x publishCurseforge | grep -o 'CURSEFORGE_FILE_ID=[0-9]*' | grep -o '[0-9]*')
echo "file_id=$file_id" >> "$GITHUB_OUTPUT"
echo "CurseForge file ID: \`$file_id\`" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 8040b5d

Please sign in to comment.