Skip to content

Commit b9aef16

Browse files
feat: build for release
1 parent d5b2b6b commit b9aef16

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `ts-graphviz/setup-graphviz` action
22
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
3-
[![All Contributors](https://img.shields.io/badge/all_contributors-17-orange.svg?style=flat-square)](#contributors-)
3+
[![All Contributors](https://img.shields.io/badge/all_contributors-20-orange.svg?style=flat-square)](#contributors-)
44
<!-- ALL-CONTRIBUTORS-BADGE:END -->
55

66
GitHub Action to set up Graphviz cross-platform(Linux, macOS, Windows).
@@ -21,9 +21,9 @@ jobs:
2121
matrix:
2222
os: [ubuntu-latest, windows-latest, macos-latest]
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Setup Graphviz
26-
uses: ts-graphviz/setup-graphviz@v1
26+
uses: ts-graphviz/setup-graphviz@v2
2727
...
2828
# In the steps below this you can use Graphviz dot command.
2929
```
@@ -33,7 +33,7 @@ you can specify a specific version for each operating system (not macOS).
3333

3434
```yaml
3535
- name: Setup Graphviz
36-
uses: ts-graphviz/setup-graphviz@v1
36+
uses: ts-graphviz/setup-graphviz@v2
3737
with:
3838
# graphviz version on Ubuntu.
3939
ubuntu-graphviz-version: '2.42.2-3build2'
@@ -93,6 +93,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
9393
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Maetveis"><img src="https://avatars.githubusercontent.com/u/8176760?v=4?s=100" width="100px;" alt="Mészáros Gergely"/><br /><sub><b>Mészáros Gergely</b></sub></a><br /><a href="https://github.com/ts-graphviz/setup-graphviz/issues?q=author%3AMaetveis" title="Bug reports">🐛</a> <a href="https://github.com/ts-graphviz/setup-graphviz/commits?author=Maetveis" title="Tests">⚠️</a></td>
9494
<td align="center" valign="top" width="14.28%"><a href="https://github.com/XF-FW"><img src="https://avatars.githubusercontent.com/u/98830734?v=4?s=100" width="100px;" alt="Xavier Francisco"/><br /><sub><b>Xavier Francisco</b></sub></a><br /><a href="#ideas-XF-FW" title="Ideas, Planning, & Feedback">🤔</a></td>
9595
<td align="center" valign="top" width="14.28%"><a href="https://github.com/stinodego"><img src="https://avatars.githubusercontent.com/u/3502351?v=4?s=100" width="100px;" alt="Stijn de Gooijer"/><br /><sub><b>Stijn de Gooijer</b></sub></a><br /><a href="https://github.com/ts-graphviz/setup-graphviz/issues?q=author%3Astinodego" title="Bug reports">🐛</a></td>
96+
<td align="center" valign="top" width="14.28%"><a href="http://jakebeal.com"><img src="https://avatars.githubusercontent.com/u/10675899?v=4?s=100" width="100px;" alt="Jacob Beal"/><br /><sub><b>Jacob Beal</b></sub></a><br /><a href="https://github.com/ts-graphviz/setup-graphviz/issues?q=author%3Ajakebeal" title="Bug reports">🐛</a></td>
97+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mrbuslov"><img src="https://avatars.githubusercontent.com/u/68155915?v=4?s=100" width="100px;" alt="Dmitry Buslov"/><br /><sub><b>Dmitry Buslov</b></sub></a><br /><a href="https://github.com/ts-graphviz/setup-graphviz/issues?q=author%3Amrbuslov" title="Bug reports">🐛</a></td>
98+
<td align="center" valign="top" width="14.28%"><a href="https://vkottler.github.io/"><img src="https://avatars.githubusercontent.com/u/15205052?v=4?s=100" width="100px;" alt="Vaughn Kottler"/><br /><sub><b>Vaughn Kottler</b></sub></a><br /><a href="https://github.com/ts-graphviz/setup-graphviz/issues?q=author%3Avkottler" title="Bug reports">🐛</a></td>
9699
</tr>
97100
</tbody>
98101
</table>

lib/GraphvizInstaller.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ class GraphvizInstaller {
3434
const graphvizVersion = (0, core_1.getInput)("ubuntu-graphviz-version");
3535
const libgraphvizdevVersion = (0, core_1.getInput)("ubuntu-libgraphvizdev-version");
3636
if (skipAptUpdate === false) {
37+
await (0, exec_1.exec)("sudo", ["apt-get", "clean"]);
38+
// https://github.com/actions/runner-images/issues/9733#issuecomment-2074565599
39+
await (0, exec_1.exec)("sudo", [
40+
"sudo",
41+
"rm",
42+
"/etc/apt/sources.list.d/microsoft-prod.list",
43+
]);
3744
await (0, exec_1.exec)("sudo", ["apt-get", "update"]);
3845
}
3946
await (0, exec_1.exec)("sudo", [

0 commit comments

Comments
 (0)