Skip to content

Commit

Permalink
pass html as step output
Browse files Browse the repository at this point in the history
  • Loading branch information
janthoXO committed Jul 21, 2024
1 parent 38957c7 commit 4cb6c8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ jobs:
sudo apt-get install -y pandoc
MARKDOWN="${{ github.event.release.body }}"
HTML=$(echo "$MARKDOWN" | pandoc -f markdown -t html)
echo "html_changelog=$HTML" >> $GITHUB_ENV
echo "html_output=$HTML" >> $GITHUB_OUTPUT

# Publish the plugin to JetBrains Marketplace
- name: Publish Plugin
env:
PLUGIN_VERSION: ${{ github.event.release.tag_name }}
CHANGELOG: ${{ env.html_changelog }}
CHANGELOG: ${{ github.step.convert-markdown.outputs.html_output }}
PUBLISH_TOKEN: ${{ secrets.PLUGIN_REPOSITORY_TOKEN }}
run: ./gradlew publishPlugin

Expand Down

0 comments on commit 4cb6c8b

Please sign in to comment.