Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Convert a HTML page to Markdown

Based on turndown NPM package

Usage

name: Convert reporton:
- pull_requestjobs:
get-unused-dependencies:
runs-on: ubuntu-lateststeps:
- name: Look for unused librairiesrun: | mvn dependency:analyze-report --no-transfer-progress - name: Convert HTML to Markdownid: html2markdownif: always()uses: rknj/html2markdown@v0.1.0with:
html-file: "target/dependency-analysis.html"
- name: Create issue with reportif: always()uses: dacbd/create-issue-action@mainwith:
token: ${{ secrets.GITHUB_TOKEN }}title: Maven dependency reports (unused dependencies)body: | ${{ steps.html2markdown.outputs.markdown-content }}assignees: rknj
- name: Show content of generated markdown fileif: always()run: | cat ${{ steps.html2markdown.outputs.markdown-file }}

Build

Build the typescript and package it for distribution

$ npm run all

License

This project is released under the MIT License.

About

Github Action converting a HTML file to Markdown

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages