Compare commits

...

3 Commits

Author SHA1 Message Date
Taiki Endo
a775aaf2e8 Release 2.8.0 2023-05-04 02:52:04 +09:00
Taiki Endo
9421f53e07 Tweak CI config 2023-05-04 02:19:59 +09:00
Taiki Endo
962051977d Trim whitespace from tool names
Closes #115
2023-05-04 02:07:18 +09:00
3 changed files with 11 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ jobs:
- os: ubuntu-20.04
tool: cargo-hack@0.5,cargo-llvm-cov@0.5,cargo-minimal-versions@0.1,cargo-no-dev-deps@0.1,parse-changelog@0.5,cargo-udeps@0.1,cargo-valgrind@2.1,cargo-deny@0.13,cross@0.2,dprint@0.34,just@1.9,nextest@0.9,protoc@3.21,shellcheck@0.9,shfmt@3.5,wasm-pack@0.10,wasmtime@6.0,mdbook@0.4,mdbook-linkcheck@0.7,cargo-watch@8.1,grcov@0.8,watchexec-cli@1.20,cargo-tarpaulin@0.25,zola@0.16
- os: ubuntu-20.04
tool: cargo-valgrind@2,just@1,protoc@3,shfmt@3,wasmtime@7,cargo-watch@8,watchexec-cli@1
tool: cargo-valgrind@2, just@1,protoc@3 , shfmt@3 ,wasmtime@7,cargo-watch@8,watchexec-cli@1
- os: macos-11
tool: cargo-hack,cargo-llvm-cov,cargo-minimal-versions,cargo-no-dev-deps,parse-changelog,cargo-udeps,cargo-valgrind,cargo-deny,cross,dprint,just,nextest,protoc,shellcheck,shfmt,wasm-pack,wasmtime,mdbook,mdbook-linkcheck,cargo-watch,grcov,watchexec-cli,cargo-tarpaulin,zola
- os: windows-2019

View File

@@ -10,6 +10,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.8.0] - 2023-05-03
- Trim whitespace from tool names. ([#115](https://github.com/taiki-e/install-action/pull/115))
## [2.7.2] - 2023-04-28
- Update `cargo-llvm-cov@latest` to 0.5.19.
@@ -771,7 +775,8 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.7.2...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.8.0...HEAD
[2.8.0]: https://github.com/taiki-e/install-action/compare/v2.7.2...v2.8.0
[2.7.2]: https://github.com/taiki-e/install-action/compare/v2.7.1...v2.7.2
[2.7.1]: https://github.com/taiki-e/install-action/compare/v2.7.0...v2.7.1
[2.7.0]: https://github.com/taiki-e/install-action/compare/v2.6.19...v2.7.0

View File

@@ -323,7 +323,10 @@ manifest_dir="$(dirname "$0")/manifests"
tool="${INPUT_TOOL:-}"
tools=()
if [[ -n "${tool}" ]]; then
while read -rd,; do tools+=("${REPLY}"); done <<<"${tool},"
while read -rd,; do
t="${REPLY# *}"
tools+=("${t%* }")
done <<<"${tool},"
fi
if [[ ${#tools[@]} -eq 0 ]]; then
warn "no tool specified; this could be caused by a dependabot bug where @<tool_name> tags on this action are replaced by @<version> tags"