Skip to content

Commit

Permalink
feat: build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 17, 2022
1 parent 28bea22 commit af54e06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 2 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@ branding:
inputs:
ubuntu-graphviz-version:
description: |-
Graphviz version on Ubuntu.
graphviz version on Ubuntu.
required: false
ubuntu-libgraphvizdev-version:
description: |-
libgraphviz-dev version on Ubuntu.
required: false
macos-graphviz-version:
description: |-
Graphviz version on macOS.
required: false
windows-graphviz-version:
description: |-
Graphviz version on Windows.
graphviz version on Windows.
required: false

runs:
Expand Down
3 changes: 1 addition & 2 deletions lib/GraphvizInstaller.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ class GraphvizInstaller {
}
}
async brewInstall() {
const graphvizVersion = (0, core_1.getInput)('macos-graphviz-version');
await (0, exec_1.exec)('brew', ['update']);
await (0, exec_1.exec)('brew', [
'install',
graphvizVersion ? `graphviz@${graphvizVersion}` : 'graphviz',
'graphviz',
]);
}
async getAptInstall() {
Expand Down

0 comments on commit af54e06

Please sign in to comment.