|
1 | 1 | # `ts-graphviz/setup-graphviz` action
|
2 | 2 | <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
3 |
| -[](#contributors-) |
| 3 | +[](#contributors-) |
4 | 4 | <!-- ALL-CONTRIBUTORS-BADGE:END -->
|
5 | 5 |
|
6 | 6 | GitHub Action to set up Graphviz cross-platform(Linux, macOS, Windows).
|
7 | 7 |
|
8 | 8 | ## Example usage
|
9 | 9 |
|
| 10 | +With `ts-graphviz/setup-graphviz`, you can set up a GitHub Action environment |
| 11 | +that allows you to use `Graphviz` on all operating systems. |
| 12 | + |
10 | 13 | ```yml
|
11 | 14 | name: Graphviz CI
|
12 | 15 | on: [push]
|
|
25 | 28 | # In the steps below this you can use Graphviz dot command.
|
26 | 29 | ```
|
27 | 30 |
|
| 31 | +If you want a fixed version of Graphviz, |
| 32 | +you can specify a specific version for each operating system (not macOS). |
| 33 | + |
| 34 | +```yaml |
| 35 | +- name: Setup Graphviz |
| 36 | + uses: ts-graphviz/setup-graphviz@v1 |
| 37 | + with: |
| 38 | + # graphviz version on Ubuntu. |
| 39 | + ubuntu-graphviz-version: '2.42.2-3build2' |
| 40 | + # libgraphviz-dev version on Ubuntu. |
| 41 | + ubuntu-libgraphvizdev-version: '2.42.2-3build2' |
| 42 | + # graphviz version on Windows. |
| 43 | + windows-graphviz-version: '2.49.3' |
| 44 | +``` |
| 45 | +
|
28 | 46 | ## See Also
|
29 | 47 |
|
30 | 48 | Graphviz-dot Test and Integration
|
@@ -54,6 +72,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
54 | 72 | <td align="center"><a href="https://smcleod.net"><img src="https://avatars.githubusercontent.com/u/862951?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sam</b></sub></a><br /><a href="#maintenance-sammcj" title="Maintenance">🚧</a></td>
|
55 | 73 | <td align="center"><a href="https://github.com/mohawk2"><img src="https://avatars.githubusercontent.com/u/7308181?v=4?s=100" width="100px;" alt=""/><br /><sub><b>mohawk2</b></sub></a><br /><a href="https://github.com/ts-graphviz/setup-graphviz/issues?q=author%3Amohawk2" title="Bug reports">🐛</a> <a href="#ideas-mohawk2" title="Ideas, Planning, & Feedback">🤔</a></td>
|
56 | 74 | <td align="center"><a href="https://github.com/leadelngalame1611"><img src="https://avatars.githubusercontent.com/u/39901966?v=4?s=100" width="100px;" alt=""/><br /><sub><b>leadelngalame1611</b></sub></a><br /><a href="https://github.com/ts-graphviz/setup-graphviz/issues?q=author%3Aleadelngalame1611" title="Bug reports">🐛</a> <a href="#ideas-leadelngalame1611" title="Ideas, Planning, & Feedback">🤔</a></td>
|
| 75 | + <td align="center"><a href="https://github.com/stunney"><img src="https://avatars.githubusercontent.com/u/609012?v=4?s=100" width="100px;" alt=""/><br /><sub><b>S. Tunney</b></sub></a><br /><a href="#ideas-stunney" title="Ideas, Planning, & Feedback">🤔</a></td> |
57 | 76 | </tr>
|
58 | 77 | </table>
|
59 | 78 |
|
|
0 commit comments