This repository has been archived by the owner on Feb 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ Looking for suggestions/help in improving this action. If there is a feature you | |
## How to use | ||
|
||
The idea is that this action is to be used within a workflow, not as a standalone action at this time. | ||
OUTPUT_FILE_TYPE can be used to define the output file type, if you don't specify it it will default to png. You can override it to svg or pdf. | ||
|
||
### Sample workflow with automated PR | ||
|
||
|
@@ -55,6 +56,7 @@ jobs: | |
env: | ||
HIDE_CODEBLOCKS: 1 | ||
ABSOLUTE_IMAGE_LINKS: 1 | ||
OUTPUT_FILE_TYPE: "svg" | ||
|
||
- name: show changes | ||
run: | | ||
|
@@ -109,14 +111,14 @@ jobs: | |
echo ${{ steps.getfile.outputs.files }} | ||
- name: compile mermaid | ||
uses: neenjaw/[email protected].0 | ||
uses: neenjaw/[email protected].1 | ||
with: | ||
files: ${{ steps.getfile.outputs.files }} | ||
output: '.resources' | ||
env: | ||
HIDE_CODEBLOCKS: 1 | ||
ABSOLUTE_IMAGE_LINKS: 1 | ||
RENDER_SVG: 1 | ||
OUTPUT_FILE_TYPE: "svg" | ||
|
||
- name: show changes | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters