Skip to content

Commit

Permalink
generate
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAbides committed Aug 8, 2023
1 parent 6cf0555 commit 5d13eaf
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 44 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ action will always check for a newer version available for download. Set this to
to enable.


### debug

Set this to any non-empty value to enable debug logging.


## Outputs

### GOCACHE
Expand Down
86 changes: 43 additions & 43 deletions bindown.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
systems:
- darwin/amd64
- linux/amd64
- darwin/amd64
- linux/amd64
dependencies:
action-doc:
template: action-doc#action-doc
Expand All @@ -16,7 +16,7 @@ dependencies:
vars:
version: 3.1.0
required_vars:
- version
- version
shellcheck:
template: origin#shellcheck
vars:
Expand All @@ -27,39 +27,37 @@ dependencies:
vars:
ref: ebc4baa08f045b7ef0f45c4b7d6f34f08d732f3d
required_vars:
- ref
- ref
templates:
action-doc#action-doc:
url: https://github.com/WillAbides/action-doc/releases/download/v{{.version}}/action-doc_{{.version}}_{{.os}}_{{.arch}}.tar.gz
required_vars:
- version
systems:
- darwin/amd64
- linux/386
- linux/amd64
- darwin/amd64
- linux/386
- linux/amd64
required_vars:
- version
origin#octo:
url: https://github.com/octo-cli/octo-cli/releases/download/v{{.version}}/octo-cli_{{.version}}_{{.os}}_{{.arch}}.tar.gz
archive_path: octo{{.archivepathsuffix}}
bin: octo
vars:
archivepathsuffix: ""
required_vars:
- version
overrides:
- matcher:
os:
- windows
dependency:
vars:
archivepathsuffix: .exe
- matcher:
arch:
- arm64
os:
- darwin
dependency:
vars:
arch: amd64
- matcher:
os:
- windows
dependency:
vars:
archivepathsuffix: .exe
- matcher:
arch:
- arm64
os:
- darwin
dependency:
vars:
arch: amd64
substitutions:
arch:
"386": i386
Expand All @@ -69,33 +67,35 @@ templates:
linux: Linux
windows: Windows
systems:
- darwin/386
- darwin/amd64
- darwin/arm64
- linux/386
- linux/amd64
- windows/386
- windows/amd64
- darwin/386
- darwin/amd64
- darwin/arm64
- linux/386
- linux/amd64
- windows/386
- windows/amd64
required_vars:
- version
origin#shellcheck:
url: https://github.com/koalaman/shellcheck/releases/download/v{{.version}}/shellcheck-v{{.version}}.{{.os}}.{{.arch}}.tar.xz
archive_path: shellcheck-v{{.version}}/shellcheck
bin: shellcheck
required_vars:
- version
overrides:
- matcher:
os:
- windows
dependency:
url: https://github.com/koalaman/shellcheck/releases/download/v{{.version}}/shellcheck-v{{.version}}.zip
archive_path: shellcheck-v{{.version}}.exe
- matcher:
os:
- windows
dependency:
url: https://github.com/koalaman/shellcheck/releases/download/v{{.version}}/shellcheck-v{{.version}}.zip
archive_path: shellcheck-v{{.version}}.exe
substitutions:
arch:
amd64: x86_64
systems:
- darwin/amd64
- linux/amd64
- windows/amd64
- darwin/amd64
- linux/amd64
- windows/amd64
required_vars:
- version
template_sources:
action-doc: https://raw.githubusercontent.com/WillAbides/action-doc/main/bindown.yml
origin: https://raw.githubusercontent.com/WillAbides/bindown-templates/master/bindown.yml
Expand Down
2 changes: 1 addition & 1 deletion script/bindown
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ CDPATH="" cd -- "$(dirname -- "$(dirname -- "$0")")"

mkdir -p bin

[ -f bin/bindown ] || sh -c "$(curl -sfL https://github.com/WillAbides/bindown/releases/download/v3.10.1/bootstrap-bindown.sh)"
[ -f bin/bindown ] || sh -c "$(curl -sfL https://github.com/WillAbides/bindown/releases/download/v4.6.0/bootstrap-bindown.sh)"

exec bin/bindown "$@"

0 comments on commit 5d13eaf

Please sign in to comment.